cobalt
cobalt copied to clipboard
NicoNico support
This will be useful because other downloaders are hard to find and it might just not work.
Some research
NicoNico video pages has authorization data for guest user in HTML attribute with id="js-initial-watch-data".
Front-end web sends to POST request to https://api.dmc.nico/api/sessions?_format=json (The DMC service; Modern delivery system) with JSON body of some data from authorization data.
The DMC service will respond with authorized URL to the master M3U8. And yes, NicoNico uses HLS VOD...
Preview URLs
- https://www.nicovideo.jp/watch/sm13876659
- Can be without WWW in start of the hostname
- https://sp.nicovideo.jp/watch/sm6287843
- Poster mode
interesting.. i'll close my issue, because i didn't see this prior