摘要:
(1) settings.py 取消注释:COOKIES_ENABLED = True (2)爬虫xx.py def parse(self, response): c_dic = {自己抓包} # 获取cookies xxx自己写原始页面xxx yield scrapy.Request(url,co 阅读全文
posted @ 2020-05-07 18:25
HuaBro
阅读(430)
评论(0)
推荐(0)
摘要:
items.py class LianhezaobaospyderItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() # pass body=scrapy.Field() li 阅读全文
posted @ 2020-05-07 18:01
HuaBro
阅读(343)
评论(0)
推荐(0)

浙公网安备 33010602011771号