|
@@ -54,11 +54,8 @@ class DY:
|
|
next_cursor = str(obj.get('max_cursor')) if has_more else None
|
|
next_cursor = str(obj.get('max_cursor')) if has_more else None
|
|
data = obj.get('aweme_list', [])
|
|
data = obj.get('aweme_list', [])
|
|
if data == [] and len(data) == 0:
|
|
if data == [] and len(data) == 0:
|
|
- return list
|
|
|
|
- if not data[0].get('search_impr').get('entity_type'):
|
|
|
|
Feishu.bot(mark, '机器自动改造消息通知', f'抖音cookie过期,请及时更换', name)
|
|
Feishu.bot(mark, '机器自动改造消息通知', f'抖音cookie过期,请及时更换', name)
|
|
- time.sleep(900)
|
|
|
|
- continue
|
|
|
|
|
|
+ return list
|
|
response.close()
|
|
response.close()
|
|
for i in range(len(data)):
|
|
for i in range(len(data)):
|
|
entity_type = data[i].get('search_impr').get('entity_type')
|
|
entity_type = data[i].get('search_impr').get('entity_type')
|