http://www.gzcc.gov.cn/data/Q...
这个网站的翻页用rules怎么写,我尝试了下面的,可是不行。
rules = (
Rule(LinkExtractor(allow=(r'http://www.gzcc.gov.cn/data/QueryService/Query.aspx?QueryID=58&page=\d+',)),follow=True),)
报了这个 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting (302) to <GET http://www.gz.gov.cn/gzgov/Error404/error.shtml> from <GET http://www.gzcc.gov.cn/robots.txt>没提示错误就结束了。