会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
L0NMAR
Konw it then hack it.
首页
新随笔
管理
2020年2月6日
Scrapy模拟登录信息
摘要: 携带cookie模拟登录 需要在爬虫里面自定义一个start_requests()的函数 里面的内容: def start_requests(self): cookies = '真实有效的cookie' yield scrapy.Request( self.start_urls[0], callba
阅读全文
posted @ 2020-02-06 16:43 10nnn4R
阅读(143)
评论(0)
推荐(0)
编辑
公告