Skip to content
/ sdl Public
forked from Funami580/sdl

Download various anime and series from Aniwave.se, Aniworld.to, and S.to

License

Notifications You must be signed in to change notification settings

Jettcodey/sdl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL

Table of Contents
  1. About The Project
  2. Installation
  3. Usage
  4. Help output
  5. Notes
  6. Build from source
  7. Thanks
  8. Legal Notice

Warning: This project is generally not well tested.

Note

This is a fork of https://github.com/Funami580/sdl. I’m developing this independently from the original repo. All credit for creating this command-line utility goes to Funami580.

About the Project

Download various anime and series from Aniwave.se, Aniworld.to, and S.to.

This project is licensed under the terms of the MIT license.

Supported sites

English

German

Back to top

Supported extractors

  • Filemoon
  • Streamtape
  • Vidoza
  • Voe

Back to top

Installation

Windows Only

  • To install SDL, download the latest Setup file SDL-Installer.exe or sdl-x.x.x-windows-x64.zip from Releases (the setup is recommended).

Note

The setup will place sdl.exe at C:\Program Files(x86)\SDL\ Folder and add sdl to your System Environment PATH.

  • After the installation is finished, simply open a terminal/cmd window. To begin downloading, take a look at these examples.

Linux and MacOS

  • Download the Latest sdl-x.x.x-(linux|macos)-(ARCH).gz file for your System from Releases.
  • After Downloading, Extract and Save the Content in a Safe Location where you want to save your Downloads and start a Terminal window where you put the contents.To begin downloading, take a look at these examples.

Usage

Downloading a single episode

By URL:

sdl 'https://aniwave.se/anime-watch/yuruyuri/ep-11'

By specifying it explicitly

sdl -s 2 -e 5 'https://aniworld.to/anime/stream/rent-a-girlfriend'

(Aniwave ONLY):

sdl -e 11 'https://aniwave.se/anime-watch/yuruyuri'

Back to top

Downloading an entire season

By URL:

sdl 'https://aniwave.se/anime-watch/yuruyuri'
sdl 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily/staffel-2'
sdl 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily/filme'

By specifying it explicitly:

sdl -s 2 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily'
sdl -s 0 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily'

Back to top

Downloading multiple episodes

sdl -e 1,2-6,9 'https://aniwave.se/anime-watch/yuruyuri'

Back to top

Downloading multiple seasons

sdl -s 1-2,4 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily'

Back to top

Downloading all seasons

sdl 'https://aniworld.to/anime/stream/yuruyuri-happy-go-lily'

Back to top

Downloading in other languages

sdl -t gersub 'https://s.to/serie/stream/higurashi-no-naku-koro-ni/staffel-1/episode-1'
sdl -t engdub 'https://aniwave.se/anime-watch/detective-conan/ep-1'

Either dub or sub:

sdl -t ger 'https://s.to/serie/stream/higurashi-no-naku-koro-ni/staffel-1/episode-1'
sdl -t german 'https://s.to/serie/stream/higurashi-no-naku-koro-ni/staffel-1/episode-1'

Back to top

Full Examples

Download Season 2 Ep 3 in German Audio(GerDub):

sdl -s 2 -e 3 -t gerdub 'https://aniworld.to/anime/stream/rent-a-girlfriend'

Download Full Season 3 in Japanese Audio&English Sub(EngSub):

sdl -s 3 -t engsub 'https://aniworld.to/anime/stream/rent-a-girlfriend'

If an episode has multiple languages, the general language preference is as follows:

  • English Anime Website: EngSub > EngDub
  • German Anime Website: GerDub > GerSub > EngSub > EngDub
  • German non-Anime Website: GerDub > GerSub > EngDub > EngSub

Back to top

Downloading with extractor directly

sdl -u 'https://streamtape.com/e/DXYPVBeKrpCkMwD'
sdl -u=voe 'https://prefulfilloverdoor.com/e/8cu8qkojpsx9'

Back to top

Help output

Usage: sdl [OPTIONS] <URL>

Arguments:
  <URL>  Download URL

Options:
      --type <VIDEO_TYPE>
          Only download specific video type [possible values: raw, dub, sub]
      --lang <LANGUAGE>
          Only download specific language [possible values: english, german]
  -t <TYPE_LANGUAGE>
          Shorthand for language and video type
  -e, --episodes <RANGES>
          Only download specific episodes
  -s, --seasons <RANGES>
          Only download specific seasons
  -u, --extractor[=<NAME>]
          Use underlying extractors directly
  -N, --concurrent-downloads <INF|NUMBER>
          Concurrent downloads [default: 5]
  -r, --retries <INF|NUMBER>
          Number of download retries [default: 5]
      --ddos-wait-episodes <NEVER|NUMBER>
          Amount of requests before waiting [default: 4]
      --ddos-wait-ms <MILLISECONDS>
          The duration in milliseconds to wait [default: 60000]
      --mpv
          Play in mpv
  -d, --debug
          Enable debug mode
  -h, --help
          Print help
  -V, --version
          Print version

Back to top

Notes

If FFmpeg and ChromeDriver are not found in the PATH, they will be downloaded automatically.

Also, I don't plan to add new sites or extractors, but you're welcome to create a Pull Request if you want to add one.

By the way, it's also possible to use sdl as a library.

Back to top

Build from source

Currently, Rust 1.75 or newer is required.

cargo build --release

The resulting executable is found at target/release/sdl.

Back to top

Report a bug/Request a Feature

See the open issues for a full list of proposed features (and known issues).

Always report bugs and issues in English! If you report in any other language, your issue will be ignored and closed.

Back to top

Thanks

Back to top

Legal Notice

This Project/Library is for educational purposes only. Downloading or accessing copyrighted content without permission may be illegal in your country. I am not responsible for any misuse or legal consequences. Use at your own risk.

Back to top