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

ExtractorError: YouTube said: Invalid parameters. #1069

Closed
kenorb opened this issue Jul 17, 2013 · 5 comments
Closed

ExtractorError: YouTube said: Invalid parameters. #1069

kenorb opened this issue Jul 17, 2013 · 5 comments

Comments

@kenorb
Copy link

@kenorb kenorb commented Jul 17, 2013

$ youtube-dl -vcti --write-description --write-info-json --all-subs --write-thumbnail -R5 http://www.youtube.com/danielofdoriaa
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vcti', '-R5', '--write-description', '--write-info-json', '--all-subs', '--write-thumbnail', '-vcti', '--write-description', '--write-info-json', '--all-subs', '--write-thumbnail', '-R5', 'http://www.youtube.com/danielofdoriaa']
[debug] youtube-dl version 2013.07.17.1
[debug] Python version 2.7.4 - Linux-3.8.0-26-generic-i686-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
WARNING: unable to set language: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol>
[youtube] danielofdoriaa: Downloading video webpage
[youtube] danielofdoriaa: Downloading video info webpage
ERROR: YouTube said: Invalid parameters.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 96, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 460, in _real_extract
    raise ExtractorError(u'YouTube said: %s' % video_info['reason'][0], expected=True)
ExtractorError: YouTube said: Invalid parameters.

Related: Issue #751

@phihag
Copy link
Contributor

@phihag phihag commented Jul 17, 2013

Yes, that's the wrong extractor - the URL refers to a user profile, but we're using the video extractor. In the meantime, try youtube-dl http://www.youtube.com/user/danielofdoriaa.

@kenorb
Copy link
Author

@kenorb kenorb commented Jul 17, 2013

Thanks, similar problem here: Issue #1070

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 23, 2013

The problem is that YoutubeIE recognize urls like http://youtube.com/BaW_jenozKc as videos, which returns a 404 error, so I think they should be interpreted as user and not videos.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 23, 2013

Actually it should just match http://youtu.be/BaW_jenozKc, which is a valid url.

@jaimeMF jaimeMF closed this in f4b0523 Sep 5, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 5, 2013

Thanks for the report, it's fixed now. http://www.youtube.com/danielofdoriaa is now interpreted as a user url instead of video.

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
3 participants
You can’t perform that action at this time.