摘要:
import math import re import requests from lxml import etree type = "https://www.cnrepark.com/gyy/park{}/" urlList = [] for i in range(1,8): url = typ 阅读全文
posted @ 2020-03-12 16:52
brady-wang
阅读(496)
评论(0)
推荐(0)
摘要:
from selenium import webdriver br = webdriver.Chrome() br.get("tps://study.163.com/") iframe = br.find_element_by_xpath("") br.switchto.frame(iframe) 阅读全文
posted @ 2020-03-12 10:55
brady-wang
阅读(204)
评论(0)
推荐(0)
摘要:
from selenium import webdriver options = webdriver.ChromeOptions() options.add_argument("--proxy-server=http://113.116.45.20:8118") br = webdriver.Chr 阅读全文
posted @ 2020-03-12 10:44
brady-wang
阅读(5969)
评论(0)
推荐(0)
摘要:
from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() #options.add_argument( 阅读全文
posted @ 2020-03-12 10:34
brady-wang
阅读(384)
评论(0)
推荐(0)
摘要:
from time import sleep js = ''' alist = document.getElementsByClassName("ui-page-next"); alist = alist[0]; alist.click(); ''' from selenium import web 阅读全文
posted @ 2020-03-12 10:07
brady-wang
阅读(324)
评论(0)
推荐(0)
摘要:
from selenium import webdriver options = webdriver.ChromeOptions() prefs = {} prefs['profile.managed_default_content_settings.images'] = 2 options.add 阅读全文
posted @ 2020-03-12 09:56
brady-wang
阅读(393)
评论(0)
推荐(0)
摘要:
from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() #options.add_argument( 阅读全文
posted @ 2020-03-12 09:49
brady-wang
阅读(1152)
评论(0)
推荐(0)

浙公网安备 33010602011771号