Commit 62991f3f authored by litaolemo's avatar litaolemo

update

parent 6a26b3f6
...@@ -28,7 +28,7 @@ from crawler.crawler_sys.utils.util_logging import logged ...@@ -28,7 +28,7 @@ from crawler.crawler_sys.utils.util_logging import logged
try: try:
from crawler_sys.framework.func_get_releaser_id import * from crawler_sys.framework.func_get_releaser_id import *
except: except:
from func_get_releaser_id import * from write_data_into_es.func_get_releaser_id import *
from crawler.crawler_sys.utils.trans_duration_str_to_second import * from crawler.crawler_sys.utils.trans_duration_str_to_second import *
from crawler.crawler_sys.proxy_pool.func_get_proxy_form_kuaidaili import get_proxy from crawler.crawler_sys.proxy_pool.func_get_proxy_form_kuaidaili import get_proxy
......
This diff is collapsed.
...@@ -1011,7 +1011,7 @@ class Crawler_v_qq(): ...@@ -1011,7 +1011,7 @@ class Crawler_v_qq():
count = 0 count = 0
pid = os.getpid() pid = os.getpid()
redis_key = connect_with_redis.platform_redis_lst_reg[self.platform] redis_key = connect_with_redis.platform_redis_lst_reg[self.platform]
while connect_with_redis.length_of_lst(lst_key=redis_key) > 0: while connect_with_redis.length_of_lst(key=redis_key) > 0:
resp_str = connect_with_redis.retrieve_video_html_from_redis_renew(self.platform) resp_str = connect_with_redis.retrieve_video_html_from_redis_renew(self.platform)
video_dic = self.parse_video_html_to_renew_play_count(resp_str) video_dic = self.parse_video_html_to_renew_play_count(resp_str)
if video_dic is not None: if video_dic is not None:
......
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