Browse Source

ycsd fix spider

zz 3 năm trước cách đây
mục cha
commit
28a4a413f2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ydyspider/spiders/zwcontentlianshangSpider.py

+ 1 - 1
ydyspider/spiders/zwcontentlianshangSpider.py

@@ -13,7 +13,7 @@ class zwcontentlianshangSpider(zwcontentSpider.zwcontentSpider):
     base_url = 'http://cp.yqsd.cn/api/book'
     custom_settings = {
         'DOWNLOAD_DELAY': 0.01,
-        'LOG_FILE': 'ydyspider/log/' + name + time.strftime("%Y-%m-%d", time.localtime()) + '.log'
+        'LOG_FILE': 'log/' + name + time.strftime("%Y-%m-%d", time.localtime()) + '.log'
     }
 
     def start_requests(self):