Commit ab30ed35 authored by litaolemo's avatar litaolemo

update

parent 77e3344a
...@@ -89,7 +89,7 @@ platform_crawler_reg = { ...@@ -89,7 +89,7 @@ platform_crawler_reg = {
# "网易新闻": crawler_wangyi_news.Crawler_wangyi_news, # "网易新闻": crawler_wangyi_news.Crawler_wangyi_news,
# "kwai": crawler_kwai.Crawler_kwai, # "kwai": crawler_kwai.Crawler_kwai,
"weibo": crawler_weibo.Crawler_weibo, "weibo": crawler_weibo.Crawler_weibo,
"douban":crawler_douban.Crawler_douban "douban":crawler_douban.Crawler_Douban
} }
......
...@@ -32,7 +32,7 @@ from write_data_into_es.func_get_releaser_id import * ...@@ -32,7 +32,7 @@ from write_data_into_es.func_get_releaser_id import *
from write_data_into_es.func_cal_doc_id import cal_doc_id from write_data_into_es.func_cal_doc_id import cal_doc_id
class Crawler_douban(): class Crawler_Douban():
def __init__(self, timeout=None, platform='douban'): def __init__(self, timeout=None, platform='douban'):
if timeout == None: if timeout == None:
self.timeout = 10 self.timeout = 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment