add kemono support

This commit is contained in:
2024-07-09 01:19:07 +02:00
parent 77c0b32d2b
commit 6aaa6e796c
2 changed files with 17 additions and 1 deletions

View File

@ -5,6 +5,7 @@ IYELLOW="\033[0;93m" # Intense Yellow
NO_COLOR="\033[0m" # Text Reset
setup_test() {
[[ ! -d ./Artists ]]
rm -f ./archive.sqlite3 ./archive-rule34.sqlite3 ./log.txt || exit 1
rm -rf ./Download/* || exit 1
}
@ -36,5 +37,13 @@ download_r34() {
download to_download_r34.txt
}
download_kemono() {
[[ -f downloaded_kemono.txt ]] || echo -e "${IYELLOW}download_kemono: no file to download from${NO_COLOR}" || exit 1
cp downloaded_kemono.txt to_download_kemono.txt
download to_download_kemono.txt
}
setup_test
download_r34
download_kemono