youtube-dl: Youtube: authentication failure
Please follow the guide below
- You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
- Put an
x
into all the boxes [ ] relevant to your issue (like this:[x]
) - Use the Preview tab to see what your issue will actually look like
Make sure you are using the latest version: run youtube-dl --version
and ensure your version is 2018.08.04. If it’s not, read this FAQ entry and update. Issues with outdated version will be rejected.
- [x ] I’ve verified and I assure that I’m running youtube-dl 2018.08.04
Before submitting an issue make sure you have:
- [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
- [x ] Searched the bugtracker for similar issues including closed ones
- [x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
What is the purpose of your issue?
- [x ] Bug report (encountered problems with youtube-dl)
- Site support request (request for adding support for a new site)
- Feature request (request for a new functionality)
- Question
- Other
The following sections concretize particular purposed issues, you can erase any section (the contents between triple —) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u':ytwatchlater', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-s', u'-j', u'--flat-playlist', u'--write-pages']
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.9 (CPython) - Linux-3.14.0-kirkwood-tld-1-armv5tel-with-debian-8.10
[debug] exe versions: avconv 11.11-6, avprobe 11.11-6, ffmpeg 0.8.21-6
[debug] Proxy map: {}
WARNING: Unable to login: Invalid password
ERROR: This playlist does not exist.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2801, in _real_extract
_, playlist = self._extract_playlist('WL')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2316, in _extract_playlist
raise ExtractorError(message, expected=True)
ExtractorError: This playlist does not exist.
...
<end of log>
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here.
Youtube fails to authenticate. Looks like the sign-in page has been redesigned again. Previous reference: https://github.com/rg3/youtube-dl/issues/12973
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (2 by maintainers)
https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-pass-cookies-to-youtube-dl
This report is still open, right? I’m getting the same “Invalid password” warning and videos are not being marked as watched. Version 2019.11.28, tested today.
From README.md: