摘要:
用selenium爬取空间 from selenium import webdriver from lxml import etree import time pro = webdriver.Chrome(executable_path=r'C:\Users\古月蜀黍\Desktop\chromedriver_win32\chromedriver.exe') pro.get(url='https... 阅读全文
摘要:
对加密数据的爬取 import requests from lxml import etree import base64 import os from urllib import request url = 'http://jandan.net/ooxx/page-46' headers = { 阅读全文
摘要:
一.requests 1. requests.get(url,headers) 2.requests.post(url, headers, data) 二.urllib from urllib import request 1.request.urlretreieve(url, filename) 阅读全文