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 VOD failed to download m3u8 info http error 404 #21538
Comments
|
|
Rebooting solved this. |
|
I'm getting the same error when trying to download twitch VODs:
This happens on 2 different machines, one Debian (testing) and one Mac OS X 10.14.5 (installed from homebrew, version given is 2019.06.27). Since it doesn't seem to be universally broken, what could be causing my 2 machines to fail? They are both on my home network—could it be something like DNS? How do I find the actual URL that is giving the 404? |
|
I'm getting the same error with version 2019.07.02, on Windows 10 and macOS Mojave. I have so far tried two different wifi networks, with the same results. All VODs I have tested work fine on my computers' browsers. My Windows log is:
I started having this issue about a week ago, but it went away. It came back sometime between June 28 and now (July 1). The URL in the log is one that I had already downloaded before, but it stopped working along with every other VOD I try. (Should I make a new issue for this? It's the exact same problem as the original post... I don't know GitHub etiquette) |
|
I think I've found the issue. I'll create a pull request and reference this bug. If you have access to the source you can try this change: diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index dc5ff29c3..7147f9169 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/youtube_dl/extractor/twitch.py
@@ -317,8 +319,8 @@ class TwitchVodIE(TwitchItemBaseIE):
'Downloading %s access token' % self._ITEM_TYPE)
formats = self._extract_m3u8_formats(
- '%s/vod/%s?%s' % (
+ '%s/vod/%s.m3u8?%s' % (
self._USHER_BASE, item_id,
compat_urllib_parse_urlencode({
'allow_source': 'true',
'allow_audio_only': 'true', |
Verbose log
Description
I'm not able to download any Twitch VODs. This is a recent bug as I'm not able to download a VOD I downloaded just yesterday.