Browse Source

ycsd fix spider

zz 3 years ago
parent
commit
b207d5bbd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ydyspider/spiders/zwcontentlianshangSpider.py

+ 1 - 1
ydyspider/spiders/zwcontentlianshangSpider.py

@@ -9,7 +9,7 @@ from . import zwcontentSpider
 
 class zwcontentlianshangSpider(zwcontentSpider.zwcontentSpider):
     name = 'zwcontentlianshnag'
-    allowed_domains = ['/cp.yqsd.cn']
+    allowed_domains = ['cp.yqsd.cn']
     base_url = 'http://cp.yqsd.cn/api/book'
     custom_settings = {
         'DOWNLOAD_DELAY': 0.01,