mirror of
https://github.com/ihmily/StreamCap.git
synced 2026-06-02 12:00:07 +08:00
feat: add taobao live web link support
This commit is contained in:
@@ -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
|
||||
|
||||
京东:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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/")
|
||||
|
||||
Reference in New Issue
Block a user