GithubHelp home page GithubHelp logo

zxxlkx / otakudesu-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rzkfyn/otakudesu-scraper

0.0 0.0 0.0 167 KB

unofficial otakudesu.ltd api

Home Page: https://otakudesu-unofficial-api.rzkfyn.tech/api/v1/

License: MIT License

TypeScript 100.00%

otakudesu-scraper's Introduction

Otakudesu Unofficial API

An unofficial API scraper for otakudesu. Otakudesu is a web that provides anime with Indonesian subtitle.

Quick Documentation

End Point Method Params Description Example
/api/v1/home GET - returns latest ongoing anime update & currently finished anime resources /api/v1/home
/api/v1/ongoing-anime/:page GET - page (opt, number) returns ongoing anime resources /api/v1/ongoing-anime
/api/v1/complete-anime/:page GET - page (opt, number) returns finished anime resources /api/v1/complete-anime/10
/api/v1/search/:keyword GET - keyword (required, string) returns anime search results from the given keyword /api/v1/search/Hibike Euphonium
/api/v1/anime/:slug GET - slug (required, string) returns single anime resource /api/v1/anime/kuzu-honkai-subtitle-indonesia
/api/v1/anime/:slug/episodes GET - slug (required, string) returns anime episode lists resource (the /anime/:slug enpoint's also return the anime episode lists) /api/v1/anime/kuzu-honkai-subtitle-indonesia/episodes
/api/v1/anime/:slug/episodes/:episode GET - slug (required, string)
- episode (required, number)
returns episode resource (with stream url and download urls) /api/v1/anime/kuzu-honkai-subtitle-indonesia/episodes/1
/api/v1/episode/:slug GET - slug (required, string) returns single episode data by episode slug /api/v1/episode/kzhnkai-episode-1-sub-indo

Response Example

response for /api/v1/anime/kuzu-honkai-subtitle-indonesia/episodes/1 or /api/v1/episode/kzhnkai-episode-1-sub-indo

{
  "status": "Ok",
  "data": {
    "episode": "Kuzu no Honkai Episode 1 Subtitle Indonesia",
    "anime": {
      "slug": "kuzu-honkai-subtitle-indonesia",
      "otakudesu_url": "https://otakudesu.bid/anime/kuzu-honkai-subtitle-indonesia/"
    },
    "has_next_episode": true,
    "next_episode": {
      "slug": "kzhnkai-episode-2-sub-indo",
      "otakudesu_url": "https://otakudesu.bid/episode/kzhnkai-episode-2-sub-indo/"
    },
    "has_previous_episode": false,
    "previous_episode": null,
    "stream_url": "https://desustream.me/playdesu/v2/baru/?id=MnBXN1dwZWEzbHFLNjh4NGt5KzdlRFhtKzlJMnhMSUxQejRMT0hNT3dSRT0=",
    "download_urls": {
      "mp4": [
        {
          "resolution": "360p",
          "urls": [
            {
              "provider": "ZippyShare",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFEWlpJam9XQkY1ajBwY25zVk9ZcWlIalJnZlk4SzdualMvU2J0T0tCd0k3OFZZdHNsWnpnPT0="
            },
            {
              "provider": "LetsUp",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lJelZPZUp0YitYZ0J0MkZwYjBJVVRMZnlFejNnZExjeUNnaEQvV3FWdmNnQVV5ODhZODVBRWs5bFdBbVMzYkw3NXBBPT0="
            },
            {
              "provider": "Racaty",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lXeVVTTUo5KzhYd1I5MlZoSGpNVWZKSytEazBVUk9nPT0="
            },
            {
              "provider": "Solidfiles",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFERElNbitXQVZ2bjFWUmpKbElJNmJIbGhnN2VKQ3RrREgwVjUxZGRpMVo="
            },
            {
              "provider": "Mega",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lKelVDTWZjam9IZ2RnbWx3YnZzOWxOUG03b1hSS0NQK1ZzVUxmYUxCOVRDMU13Y3RDa3R4TnhjTVFZVCsyRzZmNDQ5T2tOV3ZrY2QvMWd5aTd3K2FMUnc9PQ=="
            }
          ]
        },
        {
          "resolution": "480p",
          "urls": [
            {
              "provider": "ZippyShare",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFEWWZkejdRUkZ3aFZGVmpkSUZMNlNGejBGR0djV2hpaVhVV2FNTFlSTU41bzRlcXRCWQ=="
            },
            {
              "provider": "LetsUp",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lJelZPZUp0YitYZ0J0MkZwYjBJVVRMZnlHejNnZExjeUNnaEQvV3FWdmNnQVV5ODhZODVBRWs5bFJER1MzYkw3NXBBPT0="
            },
            {
              "provider": "Racaty",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lXeVVTTUo5KzhYd1I5MlVoTWo5b2ZMcXFKMlFVZk5BPT0="
            },
            {
              "provider": "Solidfiles",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFERElNbitXQVZ2bjFWUmpKbElJNmJIbGhnSENNMlFuajdlSGFOcFhRc3c="
            },
            {
              "provider": "Mega",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lKelVDTWZjam9IZ2RnbWx3Yng5eHVIcUdyMWxWS0s4VEVnZ0hHZm9wOE1EeFkxY1FEcVlnRTVMQXZjUVdkRWVXKzArdlVTRS9aYzlUNHNncW14ZnlBUnc9PQ=="
            }
          ]
        },
        {
          "resolution": "720p",
          "urls": [
            {
              "provider": "ZippyShare",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFEWVpvam9XQkY1ajBwY25zVk9ZcWlIalJnZlk1NjhrVG04YWFoS0tCd0k3OFZZdHNsWnpnPT0="
            },
            {
              "provider": "LetsUp",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lJelZPZUp0YitYZ0J0MkZwYjBJVVRMZnlhejNnZExjeUNnaEQvV3FWdmNnQVV5ODhZODVBRWs5bFNCbVMzYkw3NXBBPT0="
            },
            {
              "provider": "Racaty",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lXeVVTTUo5KzhYd1I5MlE5TXo0UkNPYXFaaFUwZUp3PT0="
            },
            {
              "provider": "Solidfiles",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lUMzFERElNbitXQVZ2bjFWUmpKbElJNmJIbGhnT0FwQ1FuaVBWU3MxcWFpc0Y="
            },
            {
              "provider": "Mega",
              "url": "https://desudrive.com/link/?id=eVYzczJaUk9LU0lKelVDTWZjam9IZ2RnbWx3Ym00NUhmS083a1daS091K0QxQkQ5ZkxKb0trZ3U5c1V4dU5odDZOWWRYaVNQS0pmOTMrRFhUMDdaVE5qSHZYK2k4WXVGSEE9PQ=="
            }
          ]
        }
      ],
      "mkv": [ ... ] // 3 items
    }
  }
}

Installation & Configuration

note: run the command without the $ symbol#

  • Open up your terminal, then run this command to clone this repo
$ git clone https://github.com/rzkfyn/otakudesu-unofficial-api.git
  • Then cd into the project root directory
$ cd otakudesu-unofficial-api
  • Inside the project root directory, run this command to install all the dependencies
$ npm install
  • to run a development server, run
$ npm run dev
  • the server accessible from a browser on http://localhost:3000

otakudesu-scraper's People

Contributors

rzkfyn avatar

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.