Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- pandas
- Python
- pytorch
- C++
- 프로그래머스
- Selenium
- VS Code
- OpenCV
- C#
- 오류
- label
- 채보
- LIST
- C
- YOLO
- ubuntu
- Docker
- 기타 연주
- Numpy
- pip
- Linux
- JSON
- 컨테이너
- Visual Studio
- mysql
- paramiko
- windows forms
- error
- SSH
- 핑거스타일
Archives
- Today
- Total
목록Crawling (2)
기계는 거짓말하지 않는다
Python Selenium 크롤링 창 숨기기
Selenium 크롤링 진행 시 창을 숨길 수 있다. # 옵션 생성 options = webdriver.ChromeOptions() # 창 숨기는 옵션 추가 options.add_argument("headless") # 옵션 지정 driver = webdriver.Chrome(driver_path, options=options)
Python
2021. 7. 25. 15:32
Python Crawling
웹 크롤링(Crawling) 웹 사이트에 있는 특정 정보를 추출하는 기술을 말한다. 다양한 웹 사이트에서 Text, Image, Audio 등을 추출할 수 있다. HTML 구조를 분석하고 로그인 처리 등이 필요하다. 아래는 Selenium과 BeautifulSoup를 이용한 크롤링 예이다. 네이버 영화 순위 from selenium import webdriver from bs4 import BeautifulSoup driver_path = './chromedriver' driver = webdriver.Chrome(driver_path) driver.get('https://movie.naver.com/movie/sdb/rank/rmovie.nhn') driver.implicitly_wait(3) html..
Python
2021. 7. 19. 21:19