|
@@ -591,21 +591,21 @@ class VideoProcessor:
|
|
|
mark_count = 'dyss-count'
|
|
|
count = get_first_value_with_prefix(mark_count)
|
|
|
increment_key(mark_count)
|
|
|
- if int(count) == 300:
|
|
|
+ if int(count) >= 300:
|
|
|
Common.logger(mark).log(f"抖音搜索接口今日已经上限")
|
|
|
return "抖音搜索上限"
|
|
|
if mark == 'sph-pl-gjc':
|
|
|
mark_count = 'sphss-count'
|
|
|
count = get_first_value_with_prefix(mark_count)
|
|
|
increment_key(mark_count)
|
|
|
- if int(count) == 300:
|
|
|
+ if int(count) >= 300:
|
|
|
Common.logger(mark).log(f"视频号搜索接口今日已经上限")
|
|
|
return "视频号搜索上限"
|
|
|
if mark == 'sph-plzh'and task['channel_id'] == '视频号':
|
|
|
mark_count = 'sph-count'
|
|
|
count = get_first_value_with_prefix(mark_count)
|
|
|
increment_key(mark_count)
|
|
|
- if int(count) == 400:
|
|
|
+ if int(count) >= 400:
|
|
|
Common.logger(mark).log(f"视频号获取用户主页今日已经上限")
|
|
|
return "视频号获取用户主页视频上限"
|
|
|
VideoProcessor.process_task(task, mark, name, feishu_id, cookie_sheet)
|