|
@@ -673,18 +673,18 @@ class VideoProcessor:
|
|
return
|
|
return
|
|
task = json.loads(data)
|
|
task = json.loads(data)
|
|
try:
|
|
try:
|
|
- # if mark == 'dy-pl-gjc' and task['channel_id'] == '抖音搜索':
|
|
|
|
- # mark_count = 'dyss-count'
|
|
|
|
- # count = get_first_value_with_prefix(mark_count)
|
|
|
|
- # increment_key(mark_count)
|
|
|
|
- # if int(count) >= 300:
|
|
|
|
- # return "抖音搜索上限"
|
|
|
|
- # if mark == 'ks-pl-gjc':
|
|
|
|
- # mark_count = 'ksss-count'
|
|
|
|
- # count = get_first_value_with_prefix(mark_count)
|
|
|
|
- # increment_key(mark_count)
|
|
|
|
- # if int(count) >= 300:
|
|
|
|
- # return "快手搜索上限"
|
|
|
|
|
|
+ if mark == 'dy-pl-gjc' and task['channel_id'] == '抖音搜索':
|
|
|
|
+ mark_count = 'dyss-count'
|
|
|
|
+ count = get_first_value_with_prefix(mark_count)
|
|
|
|
+ increment_key(mark_count)
|
|
|
|
+ if int(count) >= 300:
|
|
|
|
+ return "抖音搜索上限"
|
|
|
|
+ if mark == 'ks-pl-gjc':
|
|
|
|
+ mark_count = 'ksss-count'
|
|
|
|
+ count = get_first_value_with_prefix(mark_count)
|
|
|
|
+ increment_key(mark_count)
|
|
|
|
+ if int(count) >= 300:
|
|
|
|
+ return "快手搜索上限"
|
|
if mark == 'sph-pl-gjc':
|
|
if mark == 'sph-pl-gjc':
|
|
mark_count = 'ss-sph-count'
|
|
mark_count = 'ss-sph-count'
|
|
count = get_first_value_with_prefix(mark_count)
|
|
count = get_first_value_with_prefix(mark_count)
|