Home > other >  Request to request, but it appears inside the scrapy HTTP status code is not handled or not allowed
Request to request, but it appears inside the scrapy HTTP status code is not handled or not allowed

Time:11-30

Climb in gansu web site, http://gxt.gansu.gov.cn/zhengfuxinxigongkai/wenjianzhengce/weineiwenjian/Default_36.htm,
With requests you can request to the data, but it appears inside the scrapy HTTP status code of 404 is not handled or not allowed, according to the BBS of several solutions:
1. The change request style request=scrapy. FormRequest (url=url, the callback=self. Parse_items) into the request=scrapy.. HTTP request (url=url, the callback=self. Parse_items)
2. Instruction in setting an increase of 404
All not line? There are a great god can help me solve
  • Related