Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Twitch] mobile version (m.twitch.tv) support #24290
Comments
|
youtube-dl/youtube_dl/extractor/twitch.py Line 646 in 6a6e1a0 Given this line, the extractor for twitch clips is simply not recognizing links from the mobile version, and it seems looking up the main stream is the fallback action for twitch links. I will change the regular expression to include the mobile versions and test it. |
Checklist
Verbose log
Description
WRITE DESCRIPTION HERE
If you try to use yt-dl on mobile version twitch URLs, e.g. this clip:
https://m.twitch.tv/rossbroadcast/clip/ConfidentBraveHumanChefFrank
they are not working as expected, instead they are all treated as a main channel URL (presumably) and report the link being offline (or starting to play a live stream, if it's online).
Workaround: they are working as intended just after deleting the "m." prefix from the link.
This issue was found after trying to play just a couple of clips by feeding mobile links to mpv, so it can be wider than reported here (not every possible combination of links is tested). Hopefully it can be fixed just by cutting the "m.".