반응형 분류 전체보기462 [네이버] 네이버 카페 URL 확인방법 1. Firefox 설치 2. Firefox Firebug, Firepath 애드온 설치 3. 레볼루션 네이버 카페 가입 4. 자유게시판 클릭 5. Firebug 켜놓은 상태에서 Pagination 숫자 클릭 6. 해당 URL을 확인한 다음 모바일 웹에서 해당 URL을 열면 완성 2017. 1. 26. [셀레니움] 구글 자동로그인 #구글 자동 로그인 driver = webdriver.Firefox() driver.get('https://accounts.google.com/) time.sleep(1) username = driver.find_element_by_id("Email") username.send_keys('userid') nextbtn = driver.find_element_by_id("next") nextbtn.submit() time.sleep(1) password = driver.find_element_by_id("password") password.send_keys('password') time.sleep(1) submitbtn = driver.find_element_by_id("submit") submitbtn... 2017. 1. 25. [트립어드바이저] URL 메모장 저장 import timefrom selenium import webdriverimport urllib.requestimport urllib.parsefrom bs4 import BeautifulSoup #트립어드바이저 URL 메모장 저장Tripadvisor_first_URL = 'https://www.tripadvisor.co.kr/Attraction_Review-g294197-d553546-Reviews-or'Tripadvisor_second_URL = '-Myeongdong_Shopping_Street-Seoul.html#REVIEWS'input_URL = open('C:/Users/eyeden-FF14/Desktop/input_URL.txt', 'w', encoding='utf-8') result1 =.. 2017. 1. 25. [트립어드바이저] URL HTML파싱 확인 import timefrom selenium import webdriverimport urllib.requestimport urllib.parsefrom bs4 import BeautifulSoupfrom html.parser import HTMLParserimport re #트립어드바이저 URL HTML파싱 file = open('C:/Users/eyeden-FF14/Desktop/input_URL.txt', 'r', encoding='utf-8')outcome = open('C:/Users/eyeden-FF14/Desktop/outcome.txt', 'w', encoding='utf-8')urls = file.readlines()title = []review = []for page in urls[0:.. 2017. 1. 25. 이전 1 ··· 103 104 105 106 107 108 109 ··· 116 다음 반응형