zhaoyang 1 سال پیش
والد
کامیت
de9a2906eb
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ydyspider/spiders/zycontentSpider.py

+ 2 - 2
ydyspider/spiders/zycontentSpider.py

@@ -7,9 +7,9 @@ import time
 
 class zycontentSpider(scrapy.Spider):
     name = 'zycontent'
-    allowed_domains = ['60.204.150.173']
+    allowed_domains = ['content.yueduzy.com']
     query = '?channel_name=zhuishuyun&channel_key=123456'
-    base_url = 'http://60.204.150.173:8094/api/output'
+    base_url = 'https://content.yueduzy.com/api/output'
     custom_settings = {
         'DOWNLOAD_DELAY': 0.01,
         'LOG_FILE': 'ydyspider/log/' + name + time.strftime("%Y-%m-%d", time.localtime()) + '.log'