mirror of
https://github.com/ihmily/DouyinLiveRecorder.git
synced 2025-12-26 05:48:32 +08:00
refactor: update demo test func
This commit is contained in:
parent
6d087aa648
commit
249c61c6c3
6
demo.py
6
demo.py
@ -14,11 +14,11 @@ LIVE_STREAM_CONFIG = {
|
||||
},
|
||||
"kuaishou": {
|
||||
"url": "https://live.kuaishou.com/u/yall1102",
|
||||
"func": spider.get_kuaishou_stream_data2,
|
||||
"func": spider.get_kuaishou_stream_data,
|
||||
},
|
||||
"huya": {
|
||||
"url": "https://www.huya.com/116",
|
||||
"func": spider.get_huya_stream_data,
|
||||
"func": spider.get_huya_app_stream_url,
|
||||
},
|
||||
"douyu": {
|
||||
"url": "https://www.douyu.com/topic/wzDBLS6?rid=4921614&dyshid=",
|
||||
@ -193,5 +193,5 @@ def test_live_stream(platform_name: str, proxy_addr=None) -> None:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
platform = "huamao"
|
||||
platform = "douyin"
|
||||
test_live_stream(platform)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user