Explorar el Código

aiyouhuyu fix

zhaoyang hace 2 años
padre
commit
cf022ba6dd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      content_spider/spiders/aiyouhuyu/aiyouhuyu.py

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

@@ -92,7 +92,7 @@ class aiyouhuyuProcess():
             'intro': result['desc'], 'cover': result['cover'],
             'intro': result['desc'], 'cover': result['cover'],
             'keyword': '' if result['keyWords'] is None else result['keyWords'],
             'keyword': '' if result['keyWords'] is None else result['keyWords'],
             'status':  result['isFinished'],'category': category_info['category_name'],'category_id':category_info['category_id'],
             'status':  result['isFinished'],'category': category_info['category_name'],'category_id':category_info['category_id'],
-            'channel': result['channelid']
+            'channel': category_info['channel_id']
         }
         }
 
 
     def get_chapter_list_url(self, bid):
     def get_chapter_list_url(self, bid):