Home  >  Q&A  >  body text

python - scrapy运行爬虫一打开就关闭了没有爬取到数据是什么原因

爬虫运行遇到如此问题要怎么解决

PHP中文网PHP中文网2741 days ago562

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:34:17

    It is likely that your crawling rules are wrong, that is to say, the xpath (or other parsing tools) rules in your spider code are wrong. As a result, it was not crawled. You can print out the URL and see if it’s correct[]

    reply
    0
  • Cancelreply