🍿 anime scraper/downloader + trackma wrapper
This is wrapper for animdl +
trackma.
The goal? Type adl, hit enter, choose show, watch show, update episode number with as little input as possible.
Note: any visual glitches in the above are caused by the terminal recorder.
Fruits Basket: 2nd Season
should be a folder inside animedir
containing the vidoes,
otherwise adl
will not find the anime folder;fzf
is used for episode
selecting and perl
is used for better matching, but it will search for 0#
format;find
maxdepth is set to 1,
as such don't have folders inside folders; use a symlink instead, or change
the maxdepth variable.Note: vn-ki/anime-downloader seems to be depricated. As such I have ported to animdl.
$adl -p vlc
;$adl -f
will show most watched anime at the top of the list. By default frece is not used;$adl -c
will download covers from anilist to /tmp/
using cURL and wget, then will display the covers using ueberzug
in the fzf anime selection window. Alternatively, the script adl_covers.py
in this repo also downloads covers.~/bin
or ~/local/bin
folder and make it executable. ~/bin
should be added to your $PATH.mkdir -p "$HOME/bin"
wget https://raw.githubusercontent.com/RaitaroH/adl/master/adl -O "$HOME/bin/adl"
chmod +x "$HOME/bin/adl"
Or:
wget https://raw.githubusercontent.com/RaitaroH/adl/master/adl -O "$HOME/.local/bin/adl"
chmod +x "$HOME/.local/bin/adl"
If you are using Arch Linux you can install from the Arch Linux User Repository (AUR) thanks to @Baitinq.
Setup trackma as seen below. If you already have trackma set up, then skip this step.
Change default provider, Anime Downloader Configuration.
Windows platform is not officially supported. User discretion is advised.
nodejs
is not strictly needed, but many providers need it.choco install -y python3 aria2 mpv fzf nodejs
refreshenv
pip install -U git+https://github.com/anime-dl/anime-downloader Trackma
Setup trackma as seen below. If you already have trackma set up, then skip this step.
Change default provider, Anime Downloader Configuration.
Download this repository. You will need adl
and player_check.bat
at the least. You may download the zip or clone the repository. Be mindful of the folder you are in:
git clone https://github.com/RaitaroH/adl.git
cd adl
C:\Program Files\Git\bin\
should be added to your PATH to simply use bash.exe
. You may type refreshenv
to reload the environment variables after adding to PATH, or reopen the CMD/PowerShell. Note: .\adl
assumes you are currently in the folder where adl is; otherwise specify the full path.bash .\adl
adl -h
for more information.Windows sepcific issues
adl
cannot count watched episodes:
mpv.com
exists at C:\ProgramData\chocolatey\lib\mpv.install\tools
;echo %PATHEXT%
to test if you get .COM;.EXE;...
and not .EXE;.COM...
. Change the PATHEXT if needed.bash .\adl -p 'mpv.com'
as last option. This might break some providers.Setting up Trackma can be done using the GTK and Qt interfaces. Alternatively:
trackma
;a
to add an account;retrieve
to get your list. Note: you may use adl -r
to force retrieve before getting the anime list.The provider animdl
is using, may not work for you. As such configure animdl
by editing the config file.
Note - adl used to be able to change providers, as "anime dl" had a flag for it; "animdl" does not, so you will ned to modify the file manually.
adl
also has a function for updating itself from source. To use it run adl -u
or adl --update
and follow the prompts.
If the show doesn't start for you, the script will inform you of this. If you are positive that the episode number has aired, then most likely the provider you are using is NOT yet up-to-date.
Thanks goes to these wonderful people (emoji key):
Baitinq 🐛 💻 🤔 |
Justaus3r 💻 ✅ |
This project follows the all-contributors specification. Contributions of any kind welcome!