3
请教一个关于爬虫的思路
source link: https://www.v2ex.com/t/845080
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
我想采集 app 里面的图片,这个 app 是类似一个机器人 通过按钮点击就直接返回一张图片,但是这个图片地址每天都会更新一次,这种情况有什么好的解决办法
图片 url 示例:http://xxxxx.com/spic_data/20220405/7EB2D469A634CAAD683B7334E2D387A5.jpg
4 条回复 • 2022-04-05 22:38:05 +08:00
4rfv5tgb 3 小时 15 分钟前
简单点可以直接用 requests 请求整个网页下来,复杂点你就用 selenium+chrome driver,直接模拟人的点击,然后分析网页 page_source
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK