|
@@ -1,7 +1,7 @@
|
|
|
import time
|
|
|
import traceback
|
|
|
import json
|
|
|
-import uuid
|
|
|
+import random
|
|
|
|
|
|
from my_config import set_config
|
|
|
from my_utils import request_post, filter_video_status, send_msg_to_feishu, filter_video_status_app, \
|
|
@@ -22,7 +22,7 @@ def get_videos_from_flow_pool(app_type, size=1000):
|
|
|
:return: videos [{'videoId': 1111, 'flowPool': ''}, ...]
|
|
|
"""
|
|
|
|
|
|
- batch_flag = int(time.time())
|
|
|
+ batch_flag = int(time.time() * 1000 + 111)
|
|
|
log_.info(f"batch_flag: {batch_flag}")
|
|
|
request_data = {'appType': app_type, 'batchFlag': batch_flag, 'size': size}
|
|
|
videos = []
|