AlexAplin / nndownload

Download and process links from Niconico (nicovideo.jp)
MIT License
213 stars 28 forks source link

IndexError: list index out of range #160

Closed kaz-scripts closed 2 months ago

kaz-scripts commented 2 months ago

pip install git+https://github.com/AlexAplin/nndownload and nndownload -u "email" -p "password"

Then I got this error.

Logging in... IndexError: list index out of range

What should I do?

kaz-scripts commented 2 months ago

also nndownload --session-cookie cookies.json

Using provided session cookie. Session cookie read from file. AuthenticationException: Failed to login. Please verify your session cookie

I think cookies are valid

AlexAplin commented 2 months ago

First sounds potentially like #130. When providing a session cookie, you need to provide the bare string in the .txt or directly on the CLI.

  --session-cookie COOKIE
                        user_session cookie value (string or filepath)
kaz-scripts commented 2 months ago

In what format should I write user_session_XXXX...?

kaz-scripts commented 2 months ago

Nevermind, I tried it after logging out and it worked.