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

Bad username or password... #10140

Closed
MatrixView opened this issue Jul 22, 2016 · 10 comments
Closed

Bad username or password... #10140

MatrixView opened this issue Jul 22, 2016 · 10 comments

Comments

@MatrixView
Copy link

@MatrixView MatrixView commented Jul 22, 2016

  • I've verified and I assure that I'm running youtube-dl 2016.07.17
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

- [x] Bug report (encountered problems with youtube-dl)

d:\>youtube-dl -u username@pages.plusgoogle.com -p password :ytsubs -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', ':ytsubs', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.07.17
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-67388-g37425fc, ffprobe N-67388-g37425fc, rtmpdump 2.4-47-gc26c541
[debug] Proxy map: {}
[youtube:subscriptions] Downloading login page
[youtube:subscriptions] Logging in
WARNING: unable to log in: bad username or password
[youtube:subscriptions] Youtube Subscriptions: Downloading webpage
[download] Downloading playlist: Youtube Subscriptions
[youtube:subscriptions] playlist Youtube Subscriptions: Collected 0 video ids (downloading 0 of them)
[download] Finished downloading playlist: Youtube Subscriptions```

---

Unfortunately I'm unable to use youtube-dl with my credentials since late last night (GMT).
I can login on youtube.com on different browsers just fine with the same credentials.
My credentials have NOT changed recently. I do NOT have 2-factor authentication on.

I don't know if others can still login with youtube-dl. What could be the problem?
@radoslawg
Copy link

@radoslawg radoslawg commented Jul 22, 2016

+1 - same issue since today. 24 hours ago it worked alright.

@dstftw dstftw closed this in e298d3a Jul 22, 2016
@nazar2sfive
Copy link

@nazar2sfive nazar2sfive commented Aug 20, 2016

same issue here... multiple times since yesterday.

android@android:~$ youtube-dl -f 43 -u nazar2sfive@gmail.com -p ********** https://www.youtube.com/watch?v=c6oWQ8p0FuI -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'43', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://www.youtube.com/watch?v=c6oWQ8p0FuI', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.17
[debug] Python version 2.7.12 - Linux-4.4.0-34-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Logging in
WARNING: unable to log in: bad username or password
[youtube] c6oWQ8p0FuI: Downloading webpage
[youtube] c6oWQ8p0FuI: Downloading embed webpage
[youtube] c6oWQ8p0FuI: Refetching age-gated info webpage
ERROR: c6oWQ8p0FuI: YouTube said: Please sign in to view this video.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 691, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1321, in _real_extract
    expected=True, video_id=video_id)
ExtractorError: c6oWQ8p0FuI: YouTube said: Please sign in to view this video.
@jleaders
Copy link

@jleaders jleaders commented Sep 12, 2016

I also am seeing "Bad Username or Password" when, as far as I can tell from multiple attempts, it is the correct username/pass combo.

@PaulCyberEngel
Copy link

@PaulCyberEngel PaulCyberEngel commented Oct 17, 2016

I'm having the same problem. I have verified I can login with the username & password I put on the command line.

@AlexEdimensionz
Copy link

@AlexEdimensionz AlexEdimensionz commented Jan 9, 2017

Still an issue.

$ youtube-dl -u "user@emaildomain.com" --format mp4 https://www.youtube.com/watch? v=VIDEOCODE

Type account password and press [Return]:
[youtube] Downloading login page
[youtube] Logging in
WARNING: unable to log in: bad username or password
[youtube] xY9TWQrF8AQ: Downloading webpage
[youtube] xY9TWQrF8AQ: Downloading embed webpage
[youtube] xY9TWQrF8AQ: Refetching age-gated info webpage
ERROR: xY9TWQrF8AQ: YouTube said: This video is private.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 9, 2017

@AlexEdimensionz Did you use 2FA or App passwords? If so see #5053

@AlexEdimensionz
Copy link

@AlexEdimensionz AlexEdimensionz commented Jan 9, 2017

I don't have 2FA on my account. Just used gmail login/password

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 9, 2017

As my account is working, I can only put random guesses. Do you have non-ASCII characters in your username or password? And please paste the output of

youtube-dl -v -u "user@emaildomain.com" --format mp4 https://www.youtube.com/watch?v=VIDEOCODE
@astaluego
Copy link

@astaluego astaluego commented Jan 11, 2017

It's works only when I put double quotes :
youtube-dl -u "email@domain.com" https://youtube.com/watch?v=VIDEOCODE

@Shigeto1 Shigeto1 mentioned this issue Aug 31, 2018
5 of 9 tasks complete
@Shigeto1
Copy link

@Shigeto1 Shigeto1 commented Aug 31, 2018

Any idea when or if this will be addressed? Using double quotes doesn't 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
9 participants
You can’t perform that action at this time.