feat: add taobao live web link support

This commit is contained in:
ihmily
2025-10-21 17:58:35 +08:00
parent 7e05bf37f3
commit 147bb62388
4 changed files with 4 additions and 1 deletions

View File

@@ -274,6 +274,7 @@ Youtube(需配置cookie):
https://www.youtube.com/watch?v=cS6zS5hi1w0
淘宝(需配置cookie):
https://tbzb.taobao.com/live?liveId=538503930649
https://m.tb.cn/h.TWp0HTd
京东:

View File

@@ -271,6 +271,7 @@ https://www.youtube.com/watch?v=cS6zS5hi1w0
Taobao:
(Requires configuring cookies)
https://tbzb.taobao.com/live?liveId=538503930649
https://m.tb.cn/h.TWp0HTd
JD:

View File

@@ -125,6 +125,7 @@ def get_platform_info(record_url: str) -> tuple:
".shp.": ("shopee", "shopee"),
"youtube.com/": ("Youtube", "youtube"),
"tb.cn": ("淘宝直播", "taobao"),
"tbzb.taobao.com": ("淘宝直播", "taobao"),
"3.cn": ("京东直播", "jd"),
"faceit.com": ("faceit", "faceit"),
"lailianjie.com": ("连接直播", "lianjie"),

View File

@@ -1144,7 +1144,7 @@ LehaiHandler.register(r"https://.*\.lehaitv\.com/")
HuamaoHandler.register(r"h.catshow168.com")
ShopeeHandler.register(r".*.shp.ee/")
YoutubeHandler.register(r".*\.youtube\.com/")
TaobaoHandler.register(r".*\.tb\.cn/")
TaobaoHandler.register(r".*\.tb\.cn/", r"https://.*\.taobao\.com/")
JDHandler.register(r"3\.cn/")
FaceitHandler.register(r"https://.*\.faceit\.com/")
LianJieHandler.register(r"https://.*\.lailianjie\.com/")