modify scripts

This commit is contained in:
oscarz
2025-06-26 09:14:40 +08:00
parent 54c073532c
commit 1387841aab

View File

@ -187,6 +187,7 @@ def update_multilang_common(tbl):
logging.warning(f'parse_page_movie error. url: {next_url}')
# 不要翻页,获取首页的即可
time.sleep(0.3)
break
elif status_code and status_code == 404:
@ -196,7 +197,6 @@ def update_multilang_common(tbl):
else: # 达到失败上限,加上休眠继续重试
time.sleep(5)
time.sleep(0.3)
if debug:
break
@ -240,6 +240,7 @@ def update_multilang_tags():
logging.warning(f'parse_page_movie error. url: {next_url}')
# 不要翻页,获取首页的即可
time.sleep(0.3)
break
elif status_code and status_code == 404:
@ -249,7 +250,6 @@ def update_multilang_tags():
else: # 达到失败上限,加上休眠继续重试
time.sleep(5)
time.sleep(0.3)
if debug:
break