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

Can't read the source of HTML? Error in Python code lines. #11672

Closed
rmbeer opened this issue Jan 11, 2017 · 9 comments
Closed

Can't read the source of HTML? Error in Python code lines. #11672

rmbeer opened this issue Jan 11, 2017 · 9 comments

Comments

@rmbeer
Copy link

@rmbeer rmbeer commented Jan 11, 2017

$ youtube-dl https://www.youtube.com/watch?v=QcErRVXRSK8
[youtube] QcErRVXRSK8: Downloading webpage
[youtube] QcErRVXRSK8: Downloading video info webpage
[youtube] QcErRVXRSK8: Extracting video information
[youtube] QcErRVXRSK8: Downloading js player en_US-vflsagga9
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 932, in _extract_signature_function
cache_res = res(test_string)
File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 984, in
return lambda s: initial_function([s])
File "/usr/lib/python3.6/site-packages/youtube_dl/jsinterp.py", line 254, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/usr/lib/python3.6/site-packages/youtube_dl/jsinterp.py", line 55, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib/python3.6/site-packages/youtube_dl/jsinterp.py", line 174, in interpret_expression
return objmember
KeyError: 'qC'
(caused by KeyError('qC',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This result is all that have.

@apollo11w
Copy link

@apollo11w apollo11w commented Jan 11, 2017

This error looks like mine, I will compare them with Meld

@sleibrock
Copy link

@sleibrock sleibrock commented Jan 11, 2017

Same error with version 2016.12.22. Might be a result of some YouTube update.

@jorgicio
Copy link

@jorgicio jorgicio commented Jan 11, 2017

The same error. Tried with 2016.12.22, 2016.12.31 and 2017.01.05.
Yes, It may be some YouTube update.

@apollo11w
Copy link

@apollo11w apollo11w commented Jan 11, 2017

Yeah I pretty much got the same error, but I yaourt -Syu'd to version 2017-01-10 and now it's working.

@sleibrock
Copy link

@sleibrock sleibrock commented Jan 11, 2017

Yep, that'll do it. I just ran pip install --upgrade youtube-dl and it's fine on 2017.01.10

@apollo11w
Copy link

@apollo11w apollo11w commented Jan 11, 2017

Pip? Nuuuuu you must accept pacman as your lord and savior!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 11, 2017

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

@dstftw dstftw closed this Jan 11, 2017
@apollo11w
Copy link

@apollo11w apollo11w commented Jan 11, 2017

@dstftw Thank you guys for keeping Youtube-dl up to date!

@peterdolan
Copy link

@peterdolan peterdolan commented Jan 11, 2017

Thanks guys! Appreciate the help!

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

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.