AlexAplin / nndownload

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

OTP not always presented as expected #130

Open shiren00 opened 1 year ago

shiren00 commented 1 year ago
Logging in...
Traceback (most recent call last):
  File "nndownload\nndownload.py", line 1819, in main
  File "nndownload\nndownload.py", line 1686, in login
IndexError: list index out of range
Traceback (most recent call last):
  File "nndownload\nndownload.py", line 1853, in <module>
  File "nndownload\nndownload.py", line 1819, in main
  File "nndownload\nndownload.py", line 1686, in login
IndexError: list index out of range
[1724] Failed to execute script 'nndownload' due to unhandled exception!
shiren00 commented 1 year ago
AlexAplin commented 1 year ago

The OTP code is presented regardless of whether two factor is enabled on the account.

shiren00 commented 1 year ago

In the first place, the browser (= OTP code?) does not appear. The python error message only.

Do you see any "saved" (trusted) devices on this page? https://account.nicovideo.jp/my/history/login

I looked at the page, the login itself seems to be been. It is contained in "valid access"(現在のアクセス) and "Login History"(ログイン履歴).