Loading

Scrapy - Request 中的回调函数callback不执行

回调函数callback不执行

大概率是被过滤了
两种方法:

  • allowed_domains 中加入目标url
  • scrapy.Request() 函数中将参数 dont_filter=True 设置为 True
posted @ 2020-04-26 21:08  阿dun  阅读(1783)  评论(1编辑  收藏  举报