zz 3 роки тому
батько
коміт
28a4a413f2
1 змінених файлів з 1 додано та 1 видалено
  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):