GithubHelp home page GithubHelp logo

api's People

Contributors

negima1072 avatar

Stargazers

 avatar  avatar  avatar  avatar

api's Issues

Headers `x-Frontend-Id` and `x-Frontend-version` can be specified as query parameters like `?_frontendId=6&_frontendVersion=0``

Hi,

Sorry that I am using English, and thanks for providing this excellent documentation.

In many part of the documentation, headers x-Frontend-Id and x-Frontend-version are required. From yt-dlp's implementation at https://github.com/yt-dlp/yt-dlp/blob/9b16762f48914de9ac914601769c76668e433325/yt_dlp/extractor/niconico.py#L405, those two headers can be specified as query parameters _frontendId and _frontendVersion.

For example, getting the video info of sm42448022 can be https://www.nicovideo.jp/api/watch/v3_guest/sm42448022?_frontendId=6&_frontendVersion=0&actionTrackId=wMuL0s1IZh_5459169147162. Or getting the information of a playlist: https://nvapi.nicovideo.jp/v2/mylists/72404114?_frontendId=6&_frontendVersion=0

Both sample URLs return 200 status code in incognito browser session

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.