資源簡介
代碼片段和文件信息
from?urllib?import?request
import?random
import?os
import?sys
import?lxml
import?sqlite3
from?multiprocessing?import?Pool
ua_list=[
????{‘User-Agent‘:‘Mozilla/5.0?(Windows;?U;?Windows?NT?6.1;?en-US;?rv:1.9.1.6)?Gecko/20091201?Firefox/3.5.6‘}
????{‘User-Agent‘:‘Mozilla/5.0?(Windows?NT?6.2)?AppleWebKit/535.11?(KHTML?like?Gecko)?Chrome/17.0.963.12?Safari/535.11‘}
????{“User-Agent“:“Mozilla/5.0?(compatible;?MSIE?9.0;?Windows?NT?6.1;?WOW64;?Trident/5.0;?SLCC2;?Media?Center?PC?6.0;?InfoPath.3;?MS-RTC?LM?8;?Zune?4.7)“}
????{“User-Agent“:“Mozilla/5.0?(compatible;?MSIE?9.0;?Windows?NT?6.1;?WOW64;?Trident/5.0;?SLCC2;?Media?Center?PC?6.0;?InfoPath.3;?MS-RTC?LM?8;?Zune?4.7“}
????{“User-Agent“:“Mozilla/5.0?(compatible;?MSIE?9.0;?Windows?NT?6.1;?WOW64;?Trident/5.0;?SLCC2;?.NET?CLR?2.0
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10459??2019-05-04?13:01??main.py
-----------?---------??----------?-----??----
????????????????10459????????????????????1
- 上一篇::Python實時視頻采集(opencv)
- 下一篇:knn最近鄰算法與數據集
評論
共有 條評論