Explorar el Código

weixin账号抓取方法,增加category_list作为输入

luojunhui hace 6 meses
padre
commit
18ac5754f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      coldStartTasks/crawler/weixinAccountCrawler.py

+ 1 - 1
coldStartTasks/crawler/weixinAccountCrawler.py

@@ -14,7 +14,7 @@ class weixinAccountCrawler(object):
     """
     """
 
 
     def __init__(self, target_url_list):
     def __init__(self, target_url_list):
-        self.db_client = longArticlesMySQL
+        self.db_client = longArticlesMySQL()
         self.spider = WeixinSpider()
         self.spider = WeixinSpider()
         self.url_list = target_url_list
         self.url_list = target_url_list