|
@@ -20,7 +20,7 @@ class A7louSpider(scrapy.Spider):
|
|
|
if exist is not None:
|
|
|
continue
|
|
|
url = self.base_url + '/bookInfo/{}'.format(item['bid'])
|
|
|
- yield scrapy.Request(url, callback=self.parse2, meta={"zw_id": item['bid'], "i":i})
|
|
|
+ yield scrapy.Request(url, callback=self.parse2, meta={"zw_id": item['bid'], "i":0})
|
|
|
|
|
|
def parse2(self, response):
|
|
|
mysql = msyqlHelper()
|