Spaces:
Paused
Paused
update
Browse files
data/porter_tasks/porter_task_chenjieshen_douyin_video_to_bilibili.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"sec_user_id": "MS4wLjABAAAATGoBrO7yiJ3q9go4fxq9JXjrnP1bFpdkgKckC1IpfXA_vrjSmL9ZtjmTju8ApwbT",
|
| 7 |
"check_interval": 900,
|
| 8 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 9 |
-
"
|
| 10 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 11 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 12 |
},
|
|
@@ -31,6 +31,6 @@
|
|
| 31 |
"target_user_id": "442286660",
|
| 32 |
"key_of_credentials": "bilibili_chenjiesen_credentials",
|
| 33 |
"remove_after_upload": true,
|
| 34 |
-
"
|
| 35 |
}
|
| 36 |
]
|
|
|
|
| 6 |
"sec_user_id": "MS4wLjABAAAATGoBrO7yiJ3q9go4fxq9JXjrnP1bFpdkgKckC1IpfXA_vrjSmL9ZtjmTju8ApwbT",
|
| 7 |
"check_interval": 900,
|
| 8 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 9 |
+
"min_date2": "2026-01-11 00:00:00",
|
| 10 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 11 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 12 |
},
|
|
|
|
| 31 |
"target_user_id": "442286660",
|
| 32 |
"key_of_credentials": "bilibili_chenjiesen_credentials",
|
| 33 |
"remove_after_upload": true,
|
| 34 |
+
"min_date2": "2026-01-11 00:00:00"
|
| 35 |
}
|
| 36 |
]
|
toolbox/porter/tasks/douyin_live_record_task.py
CHANGED
|
@@ -310,6 +310,9 @@ class DouyinLiveRecordTask(BaseTask):
|
|
| 310 |
"desc": "",
|
| 311 |
"tags": tags,
|
| 312 |
"url_list": [live_url],
|
|
|
|
|
|
|
|
|
|
| 313 |
|
| 314 |
"metadata": metadata,
|
| 315 |
|
|
|
|
| 310 |
"desc": "",
|
| 311 |
"tags": tags,
|
| 312 |
"url_list": [live_url],
|
| 313 |
+
"width": 1080,
|
| 314 |
+
"height": 1920,
|
| 315 |
+
"duration": 180000+1000,
|
| 316 |
|
| 317 |
"metadata": metadata,
|
| 318 |
|
toolbox/porter/tasks/video_to_youtube_task.py
CHANGED
|
@@ -120,10 +120,10 @@ class VideoToYoutubeTask(BaseTask):
|
|
| 120 |
create_time = v["create_time_str"]
|
| 121 |
filename = v["filename"]
|
| 122 |
# url_list = v["url_list"]
|
| 123 |
-
width = v
|
| 124 |
-
height = v
|
| 125 |
width_height = (width, height)
|
| 126 |
-
duration_in_ms = v
|
| 127 |
duration_in_s = int(duration_in_ms / 1000)
|
| 128 |
# video_id = v["video_id"]
|
| 129 |
title = v["title"]
|
|
|
|
| 120 |
create_time = v["create_time_str"]
|
| 121 |
filename = v["filename"]
|
| 122 |
# url_list = v["url_list"]
|
| 123 |
+
width = v.get("width", 720)
|
| 124 |
+
height = v.get("height", 720)
|
| 125 |
width_height = (width, height)
|
| 126 |
+
duration_in_ms = v.get("duration", 180000)
|
| 127 |
duration_in_s = int(duration_in_ms / 1000)
|
| 128 |
# video_id = v["video_id"]
|
| 129 |
title = v["title"]
|