search

Home  >  Q&A  >  body text

python scrapy crawler error

python scrapy has no other code error prompts. . . only this

世界只因有你世界只因有你2818 days ago770

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-05-27 17:41:33

    TypeError has already given a hint. If I guessed correctly, it should be that the url parameter you passed to yield request() is not a string; the url obtained using xpath is a list, remember to follow it with url[0]

    reply
    0
  • Cancelreply