Python-fakeuseragent伪装浏览器身份常用于爬虫

上传者: 39841856 | 上传时间: 2021-07-18 21:23:14 | 文件大小: 29KB | 文件类型: ZIP
fake-useragent 伪装浏览器身份,常用于爬虫。这个项目的代码很少,可以阅读一下,看看 ua.random 是如何返回随机的浏览器身份的

文件下载

资源详情

[{"title":"( 29 个子文件 29KB ) Python-fakeuseragent伪装浏览器身份常用于爬虫","children":[{"title":"fake-useragent-master","children":[{"title":"MANIFEST.in <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 744B </span>","children":null,"spread":false},{"title":"README.rst <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"conf.py <span style='color:#111;'> 8.01KB </span>","children":null,"spread":false},{"title":"_templates","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"_build","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 13B </span>","children":null,"spread":false}],"spread":true},{"title":".landscape.yaml <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"pytest.ini <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"fake_useragent","children":[{"title":"fake.py <span style='color:#111;'> 4.39KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 6.96KB </span>","children":null,"spread":false},{"title":"errors.py <span style='color:#111;'> 182B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"settings.py <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"log.py <span style='color:#111;'> 138B </span>","children":null,"spread":false}],"spread":true},{"title":"tests","children":[{"title":"test_utils.py <span style='color:#111;'> 8.25KB </span>","children":null,"spread":false},{"title":"utils.py <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"conftest.py <span style='color:#111;'> 387B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"no_browser_versions.html <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"test_fake.py <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"test_errors.py <span style='color:#111;'> 206B </span>","children":null,"spread":false}],"spread":true},{"title":"tox.ini <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.08KB </span>","children":null,"spread":false},{"title":"requirements.txt <span style='color:#111;'> 601B </span>","children":null,"spread":false},{"title":"AUTHORS <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明