Spaces:
Paused
Paused
update
Browse files
data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_hf_netdisk.json
CHANGED
|
@@ -119,6 +119,18 @@
|
|
| 119 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_hf_netdisk/live_record/陈杰森/file_info.json",
|
| 120 |
"extra_tags": ["陈杰森"]
|
| 121 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
{
|
| 123 |
"enable": true,
|
| 124 |
"type": "douyin_live_record",
|
|
|
|
| 119 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_hf_netdisk/live_record/陈杰森/file_info.json",
|
| 120 |
"extra_tags": ["陈杰森"]
|
| 121 |
},
|
| 122 |
+
{
|
| 123 |
+
"enable": true,
|
| 124 |
+
"type": "douyin_live_record",
|
| 125 |
+
"room_name": "清源第八帅",
|
| 126 |
+
"room_id": "97911201864",
|
| 127 |
+
"sec_user_id": "MS4wLjABAAAAaKKlSkaU1yPtoeStz5gCD_cVEnQUZGmklr9DZGxtKFHEr8gKPRdNcIXzwskjPHOv",
|
| 128 |
+
"key_of_credentials": "douyin_wentao_credentials",
|
| 129 |
+
"check_interval": 10,
|
| 130 |
+
"output_video_dir": "data/tasks/chenjieshen_douyin_live_record_to_hf_netdisk/live_record/陈杰森",
|
| 131 |
+
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_hf_netdisk/live_record/陈杰森/file_info.json",
|
| 132 |
+
"extra_tags": ["陈杰森"]
|
| 133 |
+
},
|
| 134 |
{
|
| 135 |
"enable": true,
|
| 136 |
"type": "douyin_live_record",
|
data/porter_tasks/porter_task_chenjieshen_douyin_live_record_to_youtube.json
CHANGED
|
@@ -119,6 +119,18 @@
|
|
| 119 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_youtube/live_record/陈杰森/file_info.json",
|
| 120 |
"extra_tags": ["陈杰森"]
|
| 121 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
{
|
| 123 |
"enable": true,
|
| 124 |
"type": "douyin_live_record",
|
|
|
|
| 119 |
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_youtube/live_record/陈杰森/file_info.json",
|
| 120 |
"extra_tags": ["陈杰森"]
|
| 121 |
},
|
| 122 |
+
{
|
| 123 |
+
"enable": true,
|
| 124 |
+
"type": "douyin_live_record",
|
| 125 |
+
"room_name": "清源第八帅",
|
| 126 |
+
"room_id": "97911201864",
|
| 127 |
+
"sec_user_id": "MS4wLjABAAAAaKKlSkaU1yPtoeStz5gCD_cVEnQUZGmklr9DZGxtKFHEr8gKPRdNcIXzwskjPHOv",
|
| 128 |
+
"key_of_credentials": "douyin_wentao_credentials",
|
| 129 |
+
"check_interval": 10,
|
| 130 |
+
"output_video_dir": "data/tasks/chenjieshen_douyin_live_record_to_youtube/live_record/陈杰森",
|
| 131 |
+
"output_video_info_file": "data/tasks/chenjieshen_douyin_live_record_to_youtube/live_record/陈杰森/file_info.json",
|
| 132 |
+
"extra_tags": ["陈杰森"]
|
| 133 |
+
},
|
| 134 |
{
|
| 135 |
"enable": true,
|
| 136 |
"type": "douyin_live_record",
|
data/porter_tasks/porter_task_chenjieshen_douyin_live_to_bilibili_live.json
CHANGED
|
@@ -99,6 +99,16 @@
|
|
| 99 |
"key_of_douyin_credentials": "douyin_wentao_credentials",
|
| 100 |
"key_of_bilibili_credentials": "bilibili_chenjiesen_credentials"
|
| 101 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
{
|
| 103 |
"enable": true,
|
| 104 |
"type": "douyin_live_to_bilibili_live",
|
|
|
|
| 99 |
"key_of_douyin_credentials": "douyin_wentao_credentials",
|
| 100 |
"key_of_bilibili_credentials": "bilibili_chenjiesen_credentials"
|
| 101 |
},
|
| 102 |
+
{
|
| 103 |
+
"enable": true,
|
| 104 |
+
"type": "douyin_live_to_bilibili_live",
|
| 105 |
+
"room_name": "清源第八帅",
|
| 106 |
+
"room_id": "97911201864",
|
| 107 |
+
"sec_user_id": "MS4wLjABAAAAaKKlSkaU1yPtoeStz5gCD_cVEnQUZGmklr9DZGxtKFHEr8gKPRdNcIXzwskjPHOv",
|
| 108 |
+
"check_interval": 10,
|
| 109 |
+
"key_of_douyin_credentials": "douyin_wentao_credentials",
|
| 110 |
+
"key_of_bilibili_credentials": "bilibili_chenjiesen_credentials"
|
| 111 |
+
},
|
| 112 |
{
|
| 113 |
"enable": true,
|
| 114 |
"type": "douyin_live_to_bilibili_live",
|
toolbox/douyin/live/live_recording.py
CHANGED
|
@@ -276,16 +276,16 @@ async def main():
|
|
| 276 |
flag = client.check_login()
|
| 277 |
print(f"flag: {flag}")
|
| 278 |
|
| 279 |
-
|
| 280 |
-
# js = await client.get_live_info_by_room_url(room_id="
|
| 281 |
# js = await client.get_live_info_by_follow(room_id="876191604909")
|
| 282 |
# js = await client.get_live_info_by_follow(room_id="572033528289")
|
| 283 |
|
| 284 |
-
js = await client.get_live_info_by_sec_user_id(
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
)
|
| 289 |
# js = await client.get_live_info_by_user_id(user_id="1450989587539357")
|
| 290 |
print(f"js: {json.dumps(js, ensure_ascii=False, indent=4)}")
|
| 291 |
return
|
|
|
|
| 276 |
flag = client.check_login()
|
| 277 |
print(f"flag: {flag}")
|
| 278 |
|
| 279 |
+
js = await client.get_live_info_by_web_enter(room_id="252921006343")
|
| 280 |
+
# js = await client.get_live_info_by_room_url(room_id="252921006343")
|
| 281 |
# js = await client.get_live_info_by_follow(room_id="876191604909")
|
| 282 |
# js = await client.get_live_info_by_follow(room_id="572033528289")
|
| 283 |
|
| 284 |
+
# js = await client.get_live_info_by_sec_user_id(
|
| 285 |
+
# # sec_user_id="MS4wLjABAAAA_vx5smDIz-u2d5o0vL3UPNVuznz_8Z9ZwGa0ULzj4rZfU5CsNoBhR_ltGF7pz7yi",
|
| 286 |
+
# # sec_user_id="MS4wLjABAAAAgd9H8yTMv9zn8AlgK5YXtqMi7PZMU2plnW7N1ZFA12_jsAuZL_NrBOUCwCYixRLx",
|
| 287 |
+
# sec_user_id="MS4wLjABAAAAf0qOK8d42d4y5nAFzm-MOI31El_mtLMIR6M-TmewcZDtJOM54w9gx9cmIDDpByFJ",
|
| 288 |
+
# )
|
| 289 |
# js = await client.get_live_info_by_user_id(user_id="1450989587539357")
|
| 290 |
print(f"js: {json.dumps(js, ensure_ascii=False, indent=4)}")
|
| 291 |
return
|