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 login to youtube #1057

Closed
Worper1997 opened this issue Jul 16, 2013 · 3 comments
Closed

Can't login to youtube #1057

Worper1997 opened this issue Jul 16, 2013 · 3 comments

Comments

@Worper1997
Copy link

@Worper1997 Worper1997 commented Jul 16, 2013

Hi
Suddenly youtube-dl can't login to youtube.
version:
youtube-dl is up-to-date (2013.07.12)

Regards

@phihag
Copy link
Contributor

@phihag phihag commented Jul 16, 2013

Can you elaborate a little bit? I.e. post the output of a problematic youtube-dl session, with the --verbose parameter? Thanks! It works fine for me:

$ youtube-dl BaW_jenozKc --username phihag@phihag.de --password secret --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['BaW_jenozKc', '--username', 'phihag@phihag.de', '--password', 'secret', '--verbose']
[debug] youtube-dl version 2013.07.12
[debug] Python version 2.7.5+ - Linux-3.0.80-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Logging in
[youtube] Confirming age
[youtube] BaW_jenozKc: Downloading video webpage
[youtube] BaW_jenozKc: Downloading video info webpage
[youtube] BaW_jenozKc: Extracting video information
[download] Destination: youtube-dl test video ''_ä↭-BaW_jenozKc.mp4
[download] 100.0% of 1.90MiB at  8.25MiB/s ETA 00:00
@Worper1997
Copy link
Author

@Worper1997 Worper1997 commented Jul 16, 2013

hmm... It's working now.
But I swear it didn't worked before. However I got the following error once, only on 1 server.
but after I ran it again it worked fine

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--username=secret', '--password=secret', 'BaW_jenozKcyoutube-dl', '--ver
ose', '--username=secret', '--password=secret', 'BaW_jenozKc']
[debug] youtube-dl version 2013.07.12
[debug] Python version 2.6.6 - Linux-2.6.32-19-pve-x86_64-with-debian-6.0.7
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Logging in
[youtube] Confirming age
[youtube] BaW_jenozKcyoutube-dl: Downloading video webpage
[youtube] BaW_jenozKcyoutube-dl: 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 95, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 458, in _real_extract
raise ExtractorError(u'YouTube said: %s' % video_info['reason'][0], expected=True)
ExtractorError: YouTube said: Invalid parameters.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 16, 2013

@Mojiz In this example you post you have passed the following Youtube id to youtube-dl: BaW_jenozKcyoutube-dl, which of course is not a valid video id ;)

@phihag phihag closed this Jul 16, 2013
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.