Aller au contenu

minidl

Source code: koval01/minidl

minidl est un projet open source de Yaroslav Koval, écrit principalement en Python. Dernière mise à jour : 1 janv. 2023. Le code source est sur GitHub.

  • Python
Mis à jour le
Étoiles
0
git clone https://github.com/koval01/minidl.git

README

Le README est affiché dans sa langue d’origine.

koval01/minidl

Source code: koval01/minidl

Working with this API is quite simple. You want to display something from the user - you need to request a method for the path /rezka/serial/URL, if the JSON is empty, then we process it like a normal movie. If the JSON is not empty, then we continue our work. We will ask for a list of translations/voiceovers /rezka/translations/URL, let's display it to the user so that he chooses what he needs. Further from the previously received /rezka/serial/URL we will get the desired fragment by translation number. Output data for users, seasons, and then series of that season. Ok, you've chosen everything, we're asking for the mp4 link /rezka/episode/URL/SEASON/EPISODE/TRANSLATION_ID

Get translations

Request:

http://127.0.0.1:3400/rezka/translations/https://rezka.ag/series/thriller/9364-mister-robot-2015.html

Response:

{
    "Украинский многоголосый ": "359",
    "ньюстудио (NewStudio)": "3",
}

Get film info

Request (use @tINT for select translation):

http://127.0.0.1:3400/https://rezka.ag/films/adventures/33150-sonik-v-kino-2020.html@t358

Response:

{
    "duration": 1,
    "title": "Соник в кино",
    "url": "https://kappa.stream.voidboost.cc/889055fba1d841b233d5c57d9ba7ef5e:2023010214:L1kyczIrazJFTzBSSEpSUkZTREw2YmR4blV2UUFSdW8zSTh0aFNNN2dBdnlIc1Vaa1psNEQzWHdOeVRBL0dDN0hBWmxOdnhwWjY1WUhBdXJlNVlCS0E9PQ==/1/0/6/0/2/6/lylx8.mp4"
}

Get serial info

Request:

http://127.0.0.1:3400/rezka/serial/https://rezka.ag/series/thriller/9364-mister-robot-2015.html

Response:

{
    "Украинский многоголосый ": {
        "episodes": {
            "1": {
                "1": "Серия 1",
                "2": "Серия 2",
                "3": "Серия 3",
                "4": "Серия 4",
                "5": "Серия 5",
                "6": "Серия 6",
                "7": "Серия 7",
                "8": "Серия 8",
                "9": "Серия 9",
                "10": "Серия 10"
            },
            "2": {
                "1": "Серия 1",
                "2": "Серия 2",
                "3": "Серия 3",
                "4": "Серия 4",
                "5": "Серия 5",
                "6": "Серия 6",
                "7": "Серия 7",
                "8": "Серия 8",
                "9": "Серия 9",
                "10": "Серия 10",
                "11": "Серия 11",
                "12": "Серия 12"
            },
            "3": {

[... continued on GitHub]

Autres projets

Tous les dépôts : github.com/koval01