SKKU DT(84)
-
[SKKU DT] 72일차 -웹 스크래핑(웹 크롤링)(3) Selenium 인스타그램 크롤링, 유튜브 크롤링 / MySQL 데이터베이스
인스타그램 크롤링 아래는 완성된 인스타그램 크롤링 파이썬 코드이다. from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time from dotenv import load_dotenv # pip install python-dotenv import os from selenium.common.exceptions import NoSuchElementException import pandas as pd selector = { 'id_input':'._aa4b._add6._ac4d._ap35', 'first_post': '._ac7v...
2024.02.15 -
[SKKU DT] 71일차 -웹 스크래핑(웹 크롤링)(2) 시각화, Selenium
[SKKU DT] 70일차 -웹 스크래핑(웹 크롤링), 파이썬 웹 스크래핑(크롤링) -웹사이트에서 원하는 정보를 자동으로 수집하고 정리하는 것. 반복적인 작업을 자동화 할 수 있다. -가격 비교, 검색 엔진, 소셜 미디어 분석(# 태그), 인스타 여러 계정의 lightbakery.tistory.com 어제에 이어서 일별 시세를 스크래핑 해오는 작업을 해 볼 것이다. tbody 안에 tr 구조가 많이 있다. tr 구조 안에는 많은 td 구조가 있다. import requests from bs4 import BeautifulSoup #import mplfinance as mpf #import pandas as pd headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10..
2024.02.14 -
[SKKU DT] 70일차 -웹 스크래핑(웹 크롤링), 파이썬
웹 스크래핑(크롤링) -웹사이트에서 원하는 정보를 자동으로 수집하고 정리하는 것. 반복적인 작업을 자동화 할 수 있다. -가격 비교, 검색 엔진, 소셜 미디어 분석(# 태그), 인스타 여러 계정의 새로운 게시물이 생길 때 마다 내가 만든 계정에 업로드 되게 할 수 있다. 원하는 데이터를 수집 수집한 정보를 알맞게 가공 TCP 통신 -응답이 있는 통신(대부분의 웹 통신) -API도 TCP 통신이다. -서로 명함을 주고 받는 느낌 ping 통신은 icmp 통신규약으로, ping google.com을 cmd 창에 입력하는 것 만으로도 응답시간을 볼 수 있다. UDP 통신 -빠른 반응을 요하는 게임(게임이 렉걸리면 갑자기 몬스터에 둘러싸이는 현상이 생길 수 있다.) -동영상 스트리밍 -Facetime, Disc..
2024.02.13 -
[SKKU DT] 69일차 -유니티 Shader Graph(셰이더 그래프), Particle System(파티클 시스템) 정리, 예제
Larva 셰이더 그래프 Particle System(파티클) Duration: 파티클이 분사되는 시간 Start Lifetime: 파티클이 계속 살아서 움직이는 시간 Start Speed: 파티클이 움직이는 속도 Start Size: 파티클의 크기, 4개의 옵션을 자주 쓴다. Gravity Modifier: 중력의 영향을 줌 Simulation Speed: 파티클 자체의 속도를 빠르게 하는 것이 아니라 파티클을 빠르게 재생시켜 보는 개념 Stop Acton: 파티클이 사라질 때의 옵션 Emission: 파티클 개수 설정 가능, Bursts로 폭발 효과 설정 가능(Rate over Time을 0으로 만들면 폭발 이후 파티클이 나오지 않게 할 수 있다. Shape: 방출 모양을 설정할 수 있다. Spher..
2024.02.07 -
[SKKU DT] 68일차 -유니티 Rest API 활용하기(뉴스 기사, 주식 정보), Shader Graph(셰이더 그래프)
뉴스 기사 가져오기 https://newsapi.org/ News API – Search News and Blog Articles on the Web “Ascender AI has a mission to apply AI to the media, and NewsAPI is one of our most valuable resources. Ascender is redefining how users interact with complex information, and the NewsAPI feed is an essential showcase for our technologies.” Braddock Ga newsapi.org 이름과 이메일을 입력하면 바로 API 키를 할당 받을 수 있다. https://newsa..
2024.02.06 -
[SKKU DT] 67일차 -유니티 Rest API 활용하기(날씨, 정보, 사진)
OpenWeatherMap에서 날씨 정보 받기 예전에도 했지만 OpenWeatherMap에서 날씨 API를 유니티로 받아올 것이다. Сurrent weather and forecast - OpenWeatherMap Access current weather data for any location on Earth including over 200,000 cities! The data is frequently updated based on the global and local weather models, satellites, radars and a vast network of weather stations. how to obtain APIs (subscriptions w openweathermap.org 내 ..
2024.02.05