类定义为:
class scrapy.http.Request(url, [callback, method='GET', headers, body, cookies, meta, encoding='utf-8', priority=0, dont_filter=False, errback, flags])
- callback参数指定解析的方法,默认为默认的 parse()
- 使用时:scrapy.Request(url, [callback=…])
class scrapy.http.Request(url, [callback, method='GET', headers, body, cookies, meta, encoding='utf-8', priority=0, dont_filter=False, errback, flags])