From ff058a928fd8c930f627f0c1ea04bcfadfff49c9 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 20 Feb 2021 19:13:12 +0300 Subject: [PATCH] anime-downloader: add a sample config file --- README.md | 3 +- deploy.sh | 57 +++++----- home/.bashrc-bloated | 2 +- home/.config/anime-downloader/config.json | 126 ++++++++++++++++++++++ home/.config/fish/conf.d/aliases.fish | 2 +- home/.config/zsh/aliases.zsh | 2 +- setup/scripts.sh | 3 + 7 files changed, 163 insertions(+), 32 deletions(-) create mode 100644 home/.config/anime-downloader/config.json diff --git a/README.md b/README.md index c8086c0..e633931 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,8 @@ - **Shell:** [fish](https://github.com/fish-shell/fish-shell) - **Shell prompt:** [starship](https://starship.rs/) - **Previewing things in the terminal:** [delta](https://github.com/dandavison/delta), [bat](https://github.com/sharkdp/bat), [glow](https://github.com/charmbracelet/glow) / [mdcat](https://github.com/lunaryorn/mdcat), [exa](https://github.com/ogham/exa), pandoc, tree, [csview](https://github.com/wfxr/csview), [libsixel](https://github.com/saitoha/libsixel) - - **CLI/TUI tools for the Internet:** [gallery-dl](https://github.com/mikf/gallery-dl) / [mangadl-bash](https://github.com/Akianonymus/mangadl-bash), [translate-shell](https://github.com/soimort/translate-shell), [ddgr](https://github.com/jarun/ddgr), [buku](https://github.com/jarun/buku), [howdoi](https://github.com/gleitz/howdoi), [tuxi](https://github.com/Bugswriter/tuxi), [amfora](https://github.com/makeworld-the-better-one/amfora), [cointop](https://github.com/miguelmota/cointop), [newsboat](https://github.com/newsboat/newsboat), [youtube-dl](https://github.com/ytdl-org/youtube-dl), [github-cli](https://github.com/cli/cli), [pup](https://github.com/ericchiang/pup), [tmpsms](https://github.com/sdushantha/tmpsms), [tmpmail](https://github.com/sdushantha/tmpmail), [weechat](https://github.com/weechat/weechat), [curl](https://curl.haxx.se), [wget](https://www.gnu.org/software/wget/wget.html) + - **Anime/Manga/Wallpaper:** [gallery-dl](https://github.com/mikf/gallery-dl) / [mangadl-bash](https://github.com/Akianonymus/mangadl-bash), [anime-downloader](https://github.com/anime-dl/anime-downloader) + [trackma](https://github.com/z411/trackma) + [adl](https://github.com/RaitaroH/adl) / [anigrab](https://github.com/ngomile/anigrab) + - **CLI/TUI tools for the Internet:** [translate-shell](https://github.com/soimort/translate-shell), [ddgr](https://github.com/jarun/ddgr), [buku](https://github.com/jarun/buku), [howdoi](https://github.com/gleitz/howdoi), [tuxi](https://github.com/Bugswriter/tuxi), [amfora](https://github.com/makeworld-the-better-one/amfora), [cointop](https://github.com/miguelmota/cointop), [newsboat](https://github.com/newsboat/newsboat), [youtube-dl](https://github.com/ytdl-org/youtube-dl), [github-cli](https://github.com/cli/cli), [pup](https://github.com/ericchiang/pup), [tmpsms](https://github.com/sdushantha/tmpsms), [tmpmail](https://github.com/sdushantha/tmpmail), [weechat](https://github.com/weechat/weechat), [curl](https://curl.haxx.se), [wget](https://www.gnu.org/software/wget/wget.html), [tremc](https://github.com/tremc/tremc) + [transmission](https://github.com/transmission/transmission), [rtorrent](https://github.com/rakshasa/rtorrent) - **CLI/TUI tools for other things:** [farge](https://github.com/sdushantha/farge), [tt](https://github.com/runrin/tt), [forgit](https://github.com/wfxr/forgit), [borg](https://github.com/borgbackup/borg), [wendy](https://git.z3bra.org/wendy/log.html), [tokei](https://github.com/XAMPPRocky/tokei), [onefetch](https://github.com/o2sh/onefetch), [calcurse](https://github.com/lfos/calcurse), [qalculate](https://github.com/Qalculate/libqalculate), [fzf](https://github.com/junegunn/fzf), [fd](https://github.com/sharkdp/fd), [ripgrep](https://github.com/BurntSushi/ripgrep), [atool](http://www.nongnu.org/atool/), [rsync](https://rsync.samba.org/), [bottom](https://github.com/clementtsang/bottom), [hyperfine](https://github.com/sharkdp/hyperfine) > zsh requires adding `export ZDOTDIR=$HOME/.config/zsh` to **/etc/zsh/zshenv** diff --git a/deploy.sh b/deploy.sh index 48f34c9..f8862b6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -81,34 +81,35 @@ cp -rfv ./home/.local/share/fonts/ ~/.local/share/fonts/ # Scripts cp -rfv ./home/.local/bin/ ~/.local/bin/ # The bloated dotfiles itself -cp -rfv ./home/.config/alacritty/ ~/.config/alacritty/ -cp -rfv ./home/.config/amfora/ ~/.config/amfora/ -cp -rfv ./home/.config/bottom/ ~/.config/bottom/ -cp -rfv ./home/.config/cava/ ~/.config/cava/ -cp -rfv ./home/.config/cointop/ ~/.config/cointop/ -cp -rfv ./home/.config/doom/ ~/.config/doom/ -cp -rfv ./home/.config/gallery-dl/ ~/.config/gallery-dl/ -cp -rfv ./home/.config/GIMP/ ~/.config/GIMP/ -cp -rfv ./home/.config/git/ ~/.config/git/ -cp -rfv ./home/.config/gtk-3.0/ ~/.config/gtk-3.0/ -cp -rfv ./home/.config/mpd/ ~/.config/mpd/ -cp -rfv ./home/.config/mpDris2/ ~/.config/mpDris2/ -cp -rfv ./home/.config/ncmpcpp/ ~/.config/ncmpcpp/ -cp -rfv ./home/.config/neofetch/ ~/.config/neofetch/ -cp -rfv ./home/.config/newsboat/ ~/.config/newsboat/ -cp -rfv ./home/.config/npm/ ~/.config/npm/ -cp -rfv ./home/.config/nvim/ ~/.config/nvim/ -cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/ -cp -rfv ./home/.config/ranger/ ~/.config/ranger/ -cp -rfv ./home/.config/tmux/ ~/.config/tmux/ -cp -rfv ./home/.config/translate-shell/ ~/.config/translate-shell/ -cp -rfv ./home/.config/tridactyl/ ~/.config/tridactyl/ -cp -rfv ./home/.config/vifm/ ~/.config/vifm/ -cp -rfv ./home/.config/youtube-dl/ ~/.config/youtube-dl/ -cp -rfv ./home/.config/zathura/ ~/.config/zathura/ -cp -rfv ./home/.config/mimeapps.list ~/.config/mimeapps.list -cp -rfv ./home/.config/pulsemixer.cfg ~/.config/pulsemixer.cfg -cp -rfv ./home/.config/starship.toml ~/.config/starship.toml +cp -rfv ./home/.config/alacritty/ ~/.config/alacritty/ +cp -rfv ./home/.config/amfora/ ~/.config/amfora/ +cp -rfv ./home/.config/anime-downloader/ ~/.config/anime-downloader/ +cp -rfv ./home/.config/bottom/ ~/.config/bottom/ +cp -rfv ./home/.config/cava/ ~/.config/cava/ +cp -rfv ./home/.config/cointop/ ~/.config/cointop/ +cp -rfv ./home/.config/doom/ ~/.config/doom/ +cp -rfv ./home/.config/gallery-dl/ ~/.config/gallery-dl/ +cp -rfv ./home/.config/GIMP/ ~/.config/GIMP/ +cp -rfv ./home/.config/git/ ~/.config/git/ +cp -rfv ./home/.config/gtk-3.0/ ~/.config/gtk-3.0/ +cp -rfv ./home/.config/mpd/ ~/.config/mpd/ +cp -rfv ./home/.config/mpDris2/ ~/.config/mpDris2/ +cp -rfv ./home/.config/ncmpcpp/ ~/.config/ncmpcpp/ +cp -rfv ./home/.config/neofetch/ ~/.config/neofetch/ +cp -rfv ./home/.config/newsboat/ ~/.config/newsboat/ +cp -rfv ./home/.config/npm/ ~/.config/npm/ +cp -rfv ./home/.config/nvim/ ~/.config/nvim/ +cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/ +cp -rfv ./home/.config/ranger/ ~/.config/ranger/ +cp -rfv ./home/.config/tmux/ ~/.config/tmux/ +cp -rfv ./home/.config/translate-shell/ ~/.config/translate-shell/ +cp -rfv ./home/.config/tridactyl/ ~/.config/tridactyl/ +cp -rfv ./home/.config/vifm/ ~/.config/vifm/ +cp -rfv ./home/.config/youtube-dl/ ~/.config/youtube-dl/ +cp -rfv ./home/.config/zathura/ ~/.config/zathura/ +cp -rfv ./home/.config/mimeapps.list ~/.config/mimeapps.list +cp -rfv ./home/.config/pulsemixer.cfg ~/.config/pulsemixer.cfg +cp -rfv ./home/.config/starship.toml ~/.config/starship.toml echo " ~~~ Cloning submodules ~~~ diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index f03bec0..864ee7a 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -374,7 +374,7 @@ alias ls="exa -lF --icons --sort=type" alias la="exa -laF --icons --sort=type" alias lt="exa --tree" alias cp="cp -vir" -alias mv="mv -vir" +alias mv="mv -vi" alias rm="rm -vr" alias mkdir="mkdir -pv" alias no="grep -viP" diff --git a/home/.config/anime-downloader/config.json b/home/.config/anime-downloader/config.json new file mode 100644 index 0000000..61e1845 --- /dev/null +++ b/home/.config/anime-downloader/config.json @@ -0,0 +1,126 @@ +{ + "dl": { + "aria2c_for_torrents": false, + "chunk_size": "10", + "download_dir": "~/gallery-dl/Anime", + "external_downloader": "{aria2}", + "fallback_qualities": [ + "720p", + "480p", + "360p" + ], + "file_format": "{anime_title}/{anime_title}_{ep_no}", + "force_download": false, + "player": null, + "provider": "4anime", + "quality": "1080p", + "skip_download": false, + "url": false + }, + "siteconfig": { + "animedaisuki": { + "servers": [ + "official" + ] + }, + "animeflix": { + "fallback_servers": [ + "FastStream" + ], + "server": "AUEngine", + "version": "sub" + }, + "animeflv": { + "server": "natsuki", + "version": "subbed" + }, + "animekisa": { + "fallback_servers": [ + "mp4upload", + "vidstream" + ], + "server": "gcloud" + }, + "animerush": { + "fallback_servers": [ + "MP4Upload", + "Mp4upload Video", + "Youruploads Video" + ], + "server": "Mp4uploadHD Video" + }, + "animesimple": { + "server": "trollvid", + "version": "subbed" + }, + "anistream.xyz": { + "version": "subbed" + }, + "dreamanime": { + "server": "trollvid", + "version": "subbed" + }, + "dubbedanime": { + "servers": [ + "vidstream", + "mp4upload", + "trollvid" + ], + "version": "dubbed" + }, + "gogoanime": { + "server": "cdn" + }, + "kickass": { + "ext_fallback_servers": [ + "Mp4Upload", + "Vidcdn", + "Vidstreaming" + ], + "fallback_servers": [ + "ORIGINAL-QUALITY-V2", + "HTML5-HQ", + "HTML5", + "A-KICKASSANIME", + "BETAPLAYER", + "KICKASSANIME", + "DEVSTREAM" + ], + "server": "A-KICKASSANIME" + }, + "nineanime": { + "server": "mp4upload" + }, + "ryuanime": { + "server": "trollvid", + "version": "subbed" + }, + "vidstream": { + "servers": [ + "vidstream", + "gcloud", + "mp4upload", + "cloud9", + "hydrax" + ] + }, + "watchmovie": { + "fallback_servers": [ + "fembed", + "yourupload", + "mp4upload" + ], + "server": "gcloud" + } + }, + "watch": { + "fallback_qualities": [ + "720p", + "480p", + "360p" + ], + "log_level": "INFO", + "provider": "4anime", + "quality": "1080p" + } +} diff --git a/home/.config/fish/conf.d/aliases.fish b/home/.config/fish/conf.d/aliases.fish index 9948416..39f5059 100644 --- a/home/.config/fish/conf.d/aliases.fish +++ b/home/.config/fish/conf.d/aliases.fish @@ -13,7 +13,7 @@ alias ls='exa -lF --icons --sort=type' alias la='exa -laF --icons --sort=type' alias lt='exa --tree' alias cp='cp -vir' -alias mv='mv -vir' +alias mv='mv -vi' alias rm='rm -vr' alias mkdir='mkdir -pv' abbr no 'grep -viP' diff --git a/home/.config/zsh/aliases.zsh b/home/.config/zsh/aliases.zsh index ece512a..9229439 100644 --- a/home/.config/zsh/aliases.zsh +++ b/home/.config/zsh/aliases.zsh @@ -7,7 +7,7 @@ alias ls="exa -lF --icons --sort=type" alias la="exa -laF --icons --sort=type" alias lt="exa --tree" alias cp="cp -vir" -alias mv="mv -vir" +alias mv="mv -vi" alias rm="rm -vr" alias mkdir="mkdir -pv" alias no="grep -viP" diff --git a/setup/scripts.sh b/setup/scripts.sh index 1d81051..8eb7559 100755 --- a/setup/scripts.sh +++ b/setup/scripts.sh @@ -11,3 +11,6 @@ chmod 755 $HOME/.local/bin/farge curl -fL "https://raw.githubusercontent.com/Bugswriter/tuxi/main/tuxi" -o $HOME/.local/bin/tuxi chmod 755 $HOME/.local/bin/tuxi + +curl -fL "https://github.com/RaitaroH/adl/raw/master/adl" -o $HOME/.local/bin/adl +chmod 755 $HOME/.local/bin/adl