Skip to content

Commit 29621bb

Browse files
committed
fix: update flextv endpoint match rule
1 parent a00df5b commit 29621bb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ docker build -t streamcap .
131131

132132
**海外平台(10+)**
133133

134-
TikTok、Twitch、PandTV、Soop、Twitcasting、CHZZK、Shopee、Youtube、LiveMe、Flextv、Popkontv、Bigo...
134+
TikTok、Twitch、PandTV、Soop、Twitcasting、CHZZK、Shopee、Youtube、LiveMe、Flextv(TTingLive)、Popkontv、Bigo...
135135

136136
**示例地址:**
137137

@@ -193,8 +193,9 @@ https://look.163.com/live?id=65108820&position=3
193193
WinkTV:
194194
https://www.winktv.co.kr/live/play/anjer1004
195195
196-
FlexTV:
196+
FlexTV/TTinglive:
197197
https://www.flextv.co.kr/channels/593127/live
198+
https://www.ttinglive.com/channels/593127/live
198199
199200
PopkonTV:
200201
https://www.popkontv.com/live/view?castId=wjfal007&partnerCode=P-00117

app/core/platforms/platform_handlers/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def get_platform_info(record_url: str) -> tuple:
9494
"fm.missevan.com/": ("猫耳FM直播", "maoerfm"),
9595
"winktv.co.kr/": ("WinkTV", "winktv"),
9696
"flextv.co.kr/": ("FlexTV", "flextv"),
97+
"ttinglive.com/": ("FlexTV", "flextv"),
9798
"look.163.com/": ("Look直播", "look"),
9899
"popkontv.com/": ("PopkonTV", "popkontv"),
99100
"twitcasting.tv/": ("TwitCasting", "twitcasting"),

app/core/platforms/platform_handlers/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ async def get_stream_info(self, live_url: str) -> StreamData:
11171117
MaoerFMHandler.register(r"fm.missevan.com/")
11181118
LookHandler.register(r"look.163.com/")
11191119
WinkTVHandler.register(r"www.winktv.co.kr/")
1120-
FlexTVHandler.register(r"www\.flextv\.co\.kr/")
1120+
FlexTVHandler.register(r"www\.flextv\.co\.kr/", r"www\.ttinglive\.com/")
11211121
PopkonTVHandler.register(r"www\.popkontv\.com/")
11221122
TwitcastingHandler.register(r"twitcasting\.tv")
11231123
BaiduHandler.register(r".*\.baidu\.com")

0 commit comments

Comments
 (0)