Heim  >  Fragen und Antworten  >  Hauptteil

python - scrapy shell url 报错521

想用scrapy shell调试response.xpath提取的标签内容,发现response没有内容,response.status显示521,后来直接从网页进,显示内部服务器错误,貌似ip被封了。。。后来换了几个url,response.status都是521,请问该怎么修改,我看见网上有说修改cookie的,但是不知道在哪里找cookie,改哪里的文件设置??废话有点多,谢谢大神们了

PHP中文网PHP中文网2740 Tage vor697

Antworte allen(0)Ich werde antworten

Keine Antwort
  • StornierenAntwort