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.
niconico - WARNING: unable to log in: bad username or password #16391
Comments
|
I get this 403 a lot too, and it's always with larger files. youtube-dl retries a few times, but I had a few where it seemed like it wasn't getting very much for each retry. But when I waited a minute and ran it again, that worked fine. So it's maybe like there should be some kind of back-off period for nicovideo to avoid them booting the client if it retries immediately. Also if you retry rapidly enough with nicovideo, the server will eventually give you a 503 for a while, even for videos which would have otherwise worked. I found out of my run of 200 or so videos, about 50 of them failed with 503 on the first run, then about 15 on the second run, and then on the third run everything was fine again. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.05.01. 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?
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 ```):Description of your issue, suggested solution and other information
This is what happens when I download this video: it starts downloading at non capped speed, then it caps speed down to 80/160 kb/s and when it's almost compelted (88-89%) a 403 error happens and download fails. As you can see it also warns me that my username or password are wrong but I used them to login so this can't be possible. I also recently changed email and password, maybe that's the issue. Speaking of the 403 type error, it happened before I changed email and password as well but at the time I was using jdownloader for the job. My username and passwords are stored correctly in my .netrc in $HOME with the proper credentials..