Spaces:
Paused
Paused
update
Browse files- data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_hf_netdisk.json +1 -1
- data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_youtube.json +1 -1
- data/porter_tasks/porter_task_chenjieshen_douyin_live_to_bilibili_live.json +1 -1
- data/porter_tasks/porter_task_chenjieshen_douyin_video_to_bilibili.json +4 -4
- data/porter_tasks/porter_task_songkewei_douyin_video_to_youtube.json +25 -0
- toolbox/youtube/youtube_client.py +1 -1
data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_hf_netdisk.json
CHANGED
|
@@ -110,7 +110,7 @@
|
|
| 110 |
{
|
| 111 |
"enable": true,
|
| 112 |
"type": "douyin_live_record",
|
| 113 |
-
"room_name": "
|
| 114 |
"room_id": "49440493528",
|
| 115 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 116 |
"key_of_credentials": "douyin_wentao_credentials",
|
|
|
|
| 110 |
{
|
| 111 |
"enable": true,
|
| 112 |
"type": "douyin_live_record",
|
| 113 |
+
"room_name": "清源第七帅",
|
| 114 |
"room_id": "49440493528",
|
| 115 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 116 |
"key_of_credentials": "douyin_wentao_credentials",
|
data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_youtube.json
CHANGED
|
@@ -110,7 +110,7 @@
|
|
| 110 |
{
|
| 111 |
"enable": true,
|
| 112 |
"type": "douyin_live_record",
|
| 113 |
-
"room_name": "
|
| 114 |
"room_id": "49440493528",
|
| 115 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 116 |
"key_of_credentials": "douyin_wentao_credentials",
|
|
|
|
| 110 |
{
|
| 111 |
"enable": true,
|
| 112 |
"type": "douyin_live_record",
|
| 113 |
+
"room_name": "清源第七帅",
|
| 114 |
"room_id": "49440493528",
|
| 115 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 116 |
"key_of_credentials": "douyin_wentao_credentials",
|
data/porter_tasks/porter_task_chenjieshen_douyin_live_to_bilibili_live.json
CHANGED
|
@@ -92,7 +92,7 @@
|
|
| 92 |
{
|
| 93 |
"enable": true,
|
| 94 |
"type": "douyin_live_to_bilibili_live",
|
| 95 |
-
"room_name": "
|
| 96 |
"room_id": "49440493528",
|
| 97 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 98 |
"check_interval": 10,
|
|
|
|
| 92 |
{
|
| 93 |
"enable": true,
|
| 94 |
"type": "douyin_live_to_bilibili_live",
|
| 95 |
+
"room_name": "清源第七帅",
|
| 96 |
"room_id": "49440493528",
|
| 97 |
"sec_user_id": "MS4wLjABAAAA2bvdZBVr5_J9l_JBuz4Qe-HoXhcsi3gldoxtRAptzCjzzqCbNT4hXkAPEx4RgQDh",
|
| 98 |
"check_interval": 10,
|
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 |
-
"min_date2": "
|
| 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 |
},
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"sec_user_id": "MS4wLjABAAAA49QFP6YhorLIIX9M-FiZeKxmqhqXlttluSsZeaxvxzU",
|
| 18 |
"check_interval": 900,
|
| 19 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 20 |
-
"min_date2": "
|
| 21 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 22 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 23 |
},
|
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"sec_user_id": "MS4wLjABAAAAzjLy7Dd3Q-UiMGdkwymLhDIL1aFJtruvCUqrwmph9n8Zb55E4y9XH2WEFaLC1ZBl",
|
| 29 |
"check_interval": 900,
|
| 30 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 31 |
-
"min_date2": "
|
| 32 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 33 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 34 |
},
|
|
@@ -42,6 +42,6 @@
|
|
| 42 |
"target_user_id": "442286660",
|
| 43 |
"key_of_credentials": "bilibili_chenjiesen_credentials",
|
| 44 |
"remove_after_upload": true,
|
| 45 |
-
"min_date2": "
|
| 46 |
}
|
| 47 |
]
|
|
|
|
| 6 |
"sec_user_id": "MS4wLjABAAAATGoBrO7yiJ3q9go4fxq9JXjrnP1bFpdkgKckC1IpfXA_vrjSmL9ZtjmTju8ApwbT",
|
| 7 |
"check_interval": 900,
|
| 8 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 9 |
+
"min_date2": "2026-01-05 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 |
},
|
|
|
|
| 17 |
"sec_user_id": "MS4wLjABAAAA49QFP6YhorLIIX9M-FiZeKxmqhqXlttluSsZeaxvxzU",
|
| 18 |
"check_interval": 900,
|
| 19 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 20 |
+
"min_date2": "2026-01-05 00:00:00",
|
| 21 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 22 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 23 |
},
|
|
|
|
| 28 |
"sec_user_id": "MS4wLjABAAAAzjLy7Dd3Q-UiMGdkwymLhDIL1aFJtruvCUqrwmph9n8Zb55E4y9XH2WEFaLC1ZBl",
|
| 29 |
"check_interval": 900,
|
| 30 |
"key_of_credentials": "douyin_wentao_credentials",
|
| 31 |
+
"min_date2": "2026-01-05 00:00:00",
|
| 32 |
"output_video_dir": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森",
|
| 33 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_video_to_bilibili/video/douyin/陈杰森/file_info.json"
|
| 34 |
},
|
|
|
|
| 42 |
"target_user_id": "442286660",
|
| 43 |
"key_of_credentials": "bilibili_chenjiesen_credentials",
|
| 44 |
"remove_after_upload": true,
|
| 45 |
+
"min_date2": "2026-01-05 00:00:00"
|
| 46 |
}
|
| 47 |
]
|
data/porter_tasks/porter_task_songkewei_douyin_video_to_youtube.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"enable": true,
|
| 4 |
+
"type": "douyin_video_download",
|
| 5 |
+
"user_name": "宋可为",
|
| 6 |
+
"sec_user_id": "MS4wLjABAAAAs2XhHg7SMVu-STXWpod1zFxTzlnoeWzTXxAE02c7OQ49GMnGiHCcLxk8c3aDPr3s",
|
| 7 |
+
"check_interval": 900,
|
| 8 |
+
"key_of_credentials": "douyin_wentao_credentials",
|
| 9 |
+
"min_date2": "2025-12-27 00:00:00",
|
| 10 |
+
"output_video_dir": "data/tasks/songkewei_douyin_video_to_youtube/video/douyin/宋可为",
|
| 11 |
+
"output_video_info_file": "data/tasks/songkewei_douyin_video_to_youtube/video/douyin/宋可为/file_info.json"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"enable": true,
|
| 15 |
+
"type": "video_to_youtube",
|
| 16 |
+
"video_group": "宋可为",
|
| 17 |
+
"target_channel_title": "宋可为",
|
| 18 |
+
"target_channel_id": "UChm54af6MM_9AAcAc1aZ2nQ",
|
| 19 |
+
"key_of_credentials": "youtube_songkewei_credentials",
|
| 20 |
+
"check_interval": 300,
|
| 21 |
+
"video_info_file": "data/tasks/songkewei_douyin_video_to_youtube/video/douyin/宋可为/file_info.json",
|
| 22 |
+
"remove_after_upload": true,
|
| 23 |
+
"min_date2": "2025-12-27 00:00:00"
|
| 24 |
+
}
|
| 25 |
+
]
|
toolbox/youtube/youtube_client.py
CHANGED
|
@@ -122,7 +122,7 @@ def get_args():
|
|
| 122 |
)
|
| 123 |
parser.add_argument(
|
| 124 |
"--authorized_user_file",
|
| 125 |
-
default=(project_path / "dotenv/
|
| 126 |
type=str
|
| 127 |
)
|
| 128 |
args = parser.parse_args()
|
|
|
|
| 122 |
)
|
| 123 |
parser.add_argument(
|
| 124 |
"--authorized_user_file",
|
| 125 |
+
default=(project_path / "dotenv/songkewei_authorized_user_file.json").as_posix(),
|
| 126 |
type=str
|
| 127 |
)
|
| 128 |
args = parser.parse_args()
|