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.
Checklist
As of the beginning of June, youtube-dl no longer recognises twitch channel names when processing a list of urls in a separate text file, and instead now requires the user to use the ids instead. When running youtube-dl, I use this command:
youtube-dl --download-archive downloaded.txt -i -o "%(uploader)s/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s].%(ext)s" --batch-file=channel_list.txt --dateafter 20190127channel_list.txt looks something like this:
https://www.twitch.tv/channelname1/videos/allhttps://www.twitch.tv/channelname2/videos/allhttps://www.twitch.tv/channelname3/videos/allThis now results in the following error for each channel:
ERROR: twitch:videos:all returned error: Bad Request - Channel identifier "channelname1" is in an invalid formatRemoving "videos/all" from the end gives a more useful error. So if the url looks like this:
https://www.twitch.tv/channelname1Then the error I get looks like this:
[twitch:stream] channelname1: Downloading access token JSON[twitch:stream] 12345678: Downloading stream JSONERROR: 12345678 is offlineSo now we've shown that youtube-dl can get the channel id from the channel name. From this I can get an url that works, and it looks like this:
https://www.twitch.tv/12345678/videos/allSo while the issue is solved for me from an engineering standpoint, I still have the following problems: