Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Error: local variable 'check_cookie_url' referenced before assignment #13822
Comments
|
Post the output with |
|
I've also encountered this issue. Putting a breakpoint here in the _login method shows my tfa_str value is u'LOGIN_CHALLENGE', which is never handled in code. Looks like that's where the bug/assumption is. |
|
|
Unfortunately I fixed my account so that it's no longer in that state, so I can't --dump-pages at this point. Here's a link to google's documentation on the "Login Challenge" feature. For anyone looking for a workaround: sign into google, go to the security page of your account settings, look at device activity & security events, then review devices for sign-in events and approve the one of an "Unknown device" type from your IP address. |
|
This occurs in one of my account with a recovery email but no 2FA setting (SMS, TOTP, Google Prompt, ...), I got the following
On the webpage, it displays |
|
@dstftw here is verbose output with Same command works locally on my mac but errors on a production linux machine.
|
|
Sometimes I get the error above and other times on the same machine I get this:
I am using the same command and username / password on my mac when it works. |
|
Output of I don't know if my login password is embedded in this output, but just in case, I've already changed it. |
|
Same issue here. |
|
Same issue, @rg3 any updates on a fix? |
|
Stepped down as the maintainer years ago. Pinging @dstftw instead. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.07.30.1. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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
-vflag 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 ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
After updating to the latest version of youtube-dl (2017.07.30.1), it appears logging in to YouTube no longer functions when downloading playlists or videos.