![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫
poluente
这个作者很懒,什么都没留下…
展开
-
playwright 爬虫神器基本用法
playwright, python, 爬虫原创 2022-10-24 15:58:44 · 1599 阅读 · 1 评论 -
python fake_useragent 生成UA字段,省去建立ua池
建立UA池,时常更新有点麻烦,记录一个很久之前发现的一个自动生成user_agent字段:from fake_useragent import UserAgentdef get_random_us(): try: ua = UserAgent() user_agent = ua.random except Exception as e: print(e) print(user_agent) return user_a原创 2021-03-09 09:21:58 · 455 阅读 · 0 评论