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] Report errors when login fails #12486
Comments
|
put the username/password in yout netrc file and it should work Refer to the bottom part of the issue #11170 |
|
I, too, can't get NICONICO videos, with the -p / --password and -u /--username parameters. I am using your WINDOWS client, so the ".netrc" option isn't available to me. I realize that the ".netrc" option is only a WORKAROUND, not a solution, but reading the comments on #11170 suggest that you would prefer people to use the workaround instead of (1) repairing the login credentials / (2) removing the -p/-u options outright. There is a song that is ONLY available on this website; I have no other options. |
|
Closing as no feedback for a long time. I assume it works for the original poster.
If that's still broken for you, feel free to leave comments below. |
|
I followed all instructions as listed, yet I get the same result. The program sees the default conf, and knows to use the .netrc file (I tested without the file present first, and it complained). Still gives the same result: logging in, getting video information, then ... "you have to login" .... youtube-dl http://www.nicovideo.jp/watch/nm3362855 I have "niconico" as the "machine" (which isn't really clarified as to what to put there). Should it be something else? An example of your .netrc file would be helpful for duplication purposes (with appropriate redacting, of course). Personally, I would prefer the COMMAND LINE flags to work. If I have to copy / move my programs to another machine, I don't have to hunt-and-peck for place files like these; my aliases to command-line flags can (and do) successfully do the job. |
|
This is my .netrc:
Let's find out why credentials do not work first. Could you run |
|
And we have a winner! On the website, you only have to provide your username. For the .netrc file, you must provide your registration email address. That was the issue. Your posting your [altered] sample was the key. Truth be told, command-line is easier for me (portability: bringing flash drive to and from work). Since the flags are supported in the first place, shouldn't "fixing them" be on the horizon instead of relying on workaround / one-machine-at-a-time-only solutions? |
|
If .netrc works, flags on command line should too.. |
I use gmail, and niconico says "Email address or password incorrect." if I omit the
As @Hrxn said, command line flags should work if |
|
While I experiment, can I make the intermediate suggestion: if the login fails, a better failure message would be helpful. "This website requires a login" didn't help me understand the issue. "Login failed" |
|
An error message is useful. Let's reopen. |
|
FYI, using the full email worked successfully. |
|
This will be fixed in the next version. Sorry for being late as I was quite busy on my thesis the last month. |
|
Hope your thesis presentation went well. |
My issue is:
Description of my issue
Seems that I cannot log in.
The usernames and passwords are the good ones. The problem is somewhere else.
There is no possible char misencoding. Only ascii for this account.
I don't know if the loggin happens. Maybe it does and I'm logged out imediatly or maybe it just doesn't and doesn't warn me.
The other possibility is: maybe niconico changed AGAIN something and youtube-dl isn't following.
It makes several weeks (2 or 3) that I have this bug.
I did a full sys update and nothing got solved.