Replicate Netflix login and generate cookie

前端 未结 3 1549
醉酒成梦
醉酒成梦 2021-02-11 02:11

Since there is no official public Netflix API anymore, I\'m trying to reverse engineer some things on my own. But I\'m kind of stuck at the login.

What I\'m doing:

3条回答
  •  独厮守ぢ
    2021-02-11 02:42

    There exist a number of approaches that you can use to get Netflix working. You can make you own API which is not that hard. If you intend to have it for your own purposes that will be overkill, but if you intend to have at least some users it is feasible. The main thing you need to remember is that usually a first call is required (to save/get cookie). After that you can login and later display the content to the user or create you own design from the fetched data. Your relevant options:

    • You can create native apps (i.e. Android, iOS, Windows Phone) and use the built in browser components that all mentioned platforms have.
    • Create a backend API that process one or more login and share the login with many users (if usage terms allows it). The users can be in a browser or native app.
    • Browser only for your private usage (or used by others using their own login).

    I use a combination of the first and second option in a project of mine. However, my project is not related to anything close to yours except for that it use cookies, login and API. Good luck!

提交回复
热议问题