Bash script to download anime from twist.moe
- bin/decrypt.py: python script used to decrypt source, code partially taken from anime_downloader
- jq
- fzf
Usage:
./twistmoe-dl.sh [-a <anime_name>] [-s <anime_slug>] [-e <episode_num1,num2,num3-num4...>]
Options:
-a <name> Anime name
-s <slug> Anime slug, can be found in $_ANIME_LIST_FILE
-e <num1,num3-num4...> Optional, episode number to download
multiple episode numbers seperated by ","
episode range using "-"
all episode using "*"
-h | --help Display this help message
- Simply run script to search anime name and select the right one in
fzf
:
$ ./twistmoe-dl.sh
<anime list in fzf>
- Search anime by its name:
$ ./twistmoe-dl.sh -a 'attack on titan ova'
[1] E1 2019-08-02 18:10:24
[2] E2 2019-08-02 18:10:24
[3] E3 2019-08-02 18:10:24
Which episode(s) to downolad:
- Download "Attack on Titan" season 3 episode 1:
$ ./twistmoe-dl.sh -s shingeki-no-kyojin-season-3 -e 3
- List "Attack on Titan" season 3 all episodes:
$ ./twistmoe-dl.sh -s shingeki-no-kyojin-season-3
[1] E1 2018-07-22 23:20:16
[2] E2 2018-07-30 00:52:31
[3] E3 2018-08-05 23:30:13
[4] E4 2018-08-12 22:04:16
[5] E5 2018-08-19 21:47:52
[6] E6 2018-08-27 09:56:20
[7] E7 2018-09-04 07:02:57
...
- Support batch downloads: list "Attack on Titan" season 3 episode 1, 3, 4, 5:
$ ./twistmoe-dl.sh -s shingeki-no-kyojin-season-3 -e 1,3,4,5
OR using episode range:
$ ./twistmoe-dl.sh -s shingeki-no-kyojin-season-3 -e 1,3-5
- Download all episodes using
*
:
$ ./twistmoe-dl.sh -s shingeki-no-kyojin-season-3 -e '*'
The purpose of this script is to download anime episodes in order to watch them later in case when Internet is not available. Please do NOT copy or distribute downloaded anime episodes to any third party. Watch them and delete them afterwards. Please use this script at your own responsibility.
Check out animepahe-dl
Check out this script tvdb-cli