Explorar el Código

zw content spider

zz hace 4 años
padre
commit
7935320566
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      ydyspider/spiders/7lou.py
  2. 1 1
      ydyspider/spiders/zwcontentSpider.py

+ 1 - 1
ydyspider/spiders/7lou.py

@@ -65,7 +65,7 @@ class A7louSpider(scrapy.Spider):
 			data['is_vip'] = meta['is_vip']
 			data['prev_cid'] = 0
 			data['next_cid'] = 0
-			data['recent_update_at'] = meta['update_at']
+			data['recent_update_at'] = meta['updated_at']
 			data['content'] = res['data']['content']
 			data['ly_chapter_id'] = meta['source_chapter_id']
 			mysql.inseraAll(data)

+ 1 - 1
ydyspider/spiders/zwcontentSpider.py

@@ -59,7 +59,7 @@ class zwcontentSpider(scrapy.Spider):
             data['is_vip'] = meta['is_vip']
             data['prev_cid'] = 0
             data['next_cid'] = 0
-            data['recent_update_at'] = meta['update_at']
+            data['recent_update_at'] = meta['updated_at']
             data['content'] = res['data']['content']
             data['ly_chapter_id'] = meta['source_chapter_id']
             mysql.inseraAll(data)