Git Product home page Git Product logo

anime-downloader-api's Introduction

anime-downloader-api

This is an api that downloads anime you send to it as post request to localhost:1337/download. Needed parameters are name and ep. Additionally, you can specify a custom resolution if you dont want it to default to 480p. Also, unless your username is shelltear, change it to yours in anime-cli/src/main.rs:112 before compiling.

To run this, first build the downloader:

# sudo apt install openssl pkg-config
# cd anime-cli && cargo build --release --no-default-features

Then move the file to /usr/bin/ and create the dir to download anime to:

# sudo cp target/release/anime-cli /usr/bin
# mkdir ~/AnimeDownloads

And lastly, go back to root of this repo and run the api:

# go run api.go

Examples

Without custom resolution:
# curl -X POST localhost:1337/download -d "name=sword art online 0&ep=1"

With custom resolution (1080p):
# curl -X POST localhost:1337/download -d "name=sword art online 0&ep=1&reso=1080"

Search:
# curl -X POST localhost:1337/search -d "name=charlotte&ep=1&reso=720p"
Note: on search if you want custom resolution, you need to add "p" to the resolution. 720 -> 720p.

Disclaimer

When downloading anime, users are subject to country-specific software distribution laws. This is not designed to enable illegal activity. We do not promote piracy nor do we allow it under any circumstances. You should own an original copy of every content downloaded through this tool. Please take the time to review copyright and video distribution laws and/or policies for your country before proceeding.

anime-downloader-api's People

Contributors

sheiitear avatar

Watchers

James Cloos 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.