Skip to content
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

[Solved] ABC [GO]: Unable to retrieve required files for playback. #25207

Closed
5 tasks done
patdavid opened this issue May 9, 2020 · 14 comments
Closed
5 tasks done

[Solved] ABC [GO]: Unable to retrieve required files for playback. #25207

patdavid opened this issue May 9, 2020 · 14 comments

Comments

@patdavid
Copy link

patdavid commented May 9, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.05.08
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl --version
2020.05.08

$ youtube-dl https://abc.com/shows/the-goldbergs/episode-guide/season-07/22-the-fakeup -v
[debug] System config: []
[debug] User config: [u'--download-archive', u'/home/pat/archive-youtube-dl.txt', u'--retries', u'infinite', u'--fragment-retries', u'infinite', u'--abort-on-unavailable-fragment']
[debug] Custom config: []
[debug] Command-line args: [u'https://abc.com/shows/the-goldbergs/episode-guide/season-07/22-the-fakeup', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.05.08
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-96-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg N-95880-gd07d1c1, ffprobe N-95880-gd07d1c1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[Go] 22-the-fakeup: Downloading webpage
[Go] VDKA0_uixgx8ru: Downloading JSON metadata
[Go] VDKA0_uixgx8ru: Retrieving Media Token
[Go] VDKA0_uixgx8ru: Downloading JSON metadata
ERROR: Go said: 1025:Unable to retrieve required files for playback. Please try again in a few minutes.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/go.py", line 205, in _real_extract
    raise ExtractorError('%s said: %s' % (self.IE_NAME, error_message), expected=True)
ExtractorError: Go said: 1025:Unable to retrieve required files for playback. Please try again in a few minutes.

Description

These URL's were working fine just a few weeks ago. This change seems to have happened recently?

@tmthywynn8
Copy link

tmthywynn8 commented May 10, 2020

This is because the method for retrieving the video ID has changed to a different key pair, so youtube-dl scrapes the wrong video ID—VDKA0_uixgx8ru instead of whatever the real ID is. Also is the reason for #25197, though why it's asking for log-in credentials I have no idea.

Solution:

Open /youtube_dl/extractor/go.py, go to line 141, and change it to read:

                    r'\bvideoIdCode["\']\s*:\s*["\'](vdka\w+)'

@magnum32
Copy link

is this issue going to be resolved in the next Youtube-DL version?

@patdavid
Copy link
Author

Oh, fantastic @tmthywynn8 - thank you very much for the solution!

@patdavid patdavid changed the title ABC [GO]: Unable to retrieve required files for playback. [Solved] ABC [GO]: Unable to retrieve required files for playback. May 11, 2020
@ryanhilton
Copy link

Thank you @tmthywynn8!

@DarF234
Copy link

DarF234 commented Jul 23, 2020

Solution:

Open /youtube_dl/extractor/go.py, go to line 141, and change it to read:

                r'\bvideoIdCode["\']\s*:\s*["\'](vdka\w+)'

This is the exact line 141 I have in go.py and I am STILL receiving error 1025!
It is no longer (and hasn't been since not long after this issue was closed) a solution to this problem!
Please look into it soon. My contribution error data is at #26058

@tony-izzo
Copy link

It looks like #25216 is the pull request that fixes this problem, but the PR is still open, and when I look at that line in master it is not the same as what's in the fix, so it looks like it never got merged.

I have a local copy based on a commit from around that same time in which I applied the patch manually. It worked in May, and I just tried it again and it still works (for me) now. It may not be the only problem, but I think #25216 needs to be merged at the very least.

@jhall39
Copy link

jhall39 commented Aug 31, 2020

Any chance this will be merged soon?

@AravindhStanley
Copy link

Hope the developers merge the changes

@alma359
Copy link

alma359 commented Dec 18, 2020

This is still not fixed. Please merge the change!

@ryanhilton
Copy link

This is still not fixed. Please merge the change!

Seriously! +1

@Aholicknight
Copy link

Please merge this!

@choc96208
Copy link

Not sure what the notion of merging of is, but I support the motion to get this issue fixed. Will save me from making the edit every time I update the software.

github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Apr 21, 2021
* https://github.com/ytdl-org/youtube-dl:
  [youtube] Remove unused code
  [go] Improve video id extraction (closes ytdl-org#25207, closes ytdl-org#25216, closes ytdl-org#26058)
  [test_execution] Add test for lazy extractors (refs ytdl-org#28780)
  [test_youtube_misc] Move YoutubeIE.extract_id test into separate module
  [youtube] Fix lazy extractors (closes ytdl-org#28780)
  [bbc] Extract full description from __INITIAL_DATA__ (refs ytdl-org#28774)
  [bbc] Extract description and timestamp from __INITIAL_DATA__ (ytdl-org#28774)
@Aholicknight
Copy link

Not sure what the notion of merging of is, but I support the motion to get this issue fixed. Will save me from making the edit every time I update the software.

@choc96208 on the other version of youtube-dl it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests