Skip to content

so# premium videos support #102

@dado330

Description

@dado330

I'm trying to retrieve the comments, metadata and thumbnail from so35736631.

First, I'm not a Premium member but I'm connected through a proxy server in Japan. (NordVPN)

This is the command I'm running:

python nndownload.py https://www.nicovideo.jp/watch/so35736631 -u MYEMAIL -l -o /tmp/{id}.{ext} -m -t -c -s

On a normal video it works fine but for this particular one it raise an error.

This is the log:

2021-04-29 22:11:25,151 INFO: Logging in...
2021-04-29 22:11:29,853 INFO: Logged in.
2021-04-29 22:11:35,309 ERROR: TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "C:\Python39\Lib\site-packages\nndownload\nndownload.py", line 1608, in main
    process_url_mo(session, url_mo)
  File "C:\Python39\Lib\site-packages\nndownload\nndownload.py", line 1570, in process_url_mo
    request_video(session, url_id)
  File "C:\Python39\Lib\site-packages\nndownload\nndownload.py", line 883, in request_video
    template_params = perform_api_request(session, document)
  File "C:\Python39\Lib\site-packages\nndownload\nndownload.py", line 1216, in perform_api_request
    if params["media"]["delivery"]["movie"].get("session"):
TypeError: 'NoneType' object is not subscriptable

Am I doing something wrong?

I don't want to download the video but just the comments and metadata which should be open even for a non premium user. Am i mistaken?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions