-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered: