zhaoyang 2 năm trước cách đây
mục cha
commit
6c220ad912

+ 1 - 1
content_spider/spiders/xiwen/xiwen.py

@@ -92,7 +92,7 @@ class xiwenProcess(object):
 
 
     def chapter_list_result(self, response):
     def chapter_list_result(self, response):
         result = json.loads(response.text)
         result = json.loads(response.text)
-        if result is None or result.get('data') is None:
+        if result is None or result.get('Data') is None:
             return []
             return []
 
 
         result_list = []
         result_list = []