mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-19 23:05:19 +05:30
should work I guess...
This commit is contained in:
11
ani-new
11
ani-new
@@ -2,7 +2,7 @@
|
||||
|
||||
domain="allanime.day"
|
||||
run_file="${TMPDIR:-/tmp}/${0##*/}_run"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/12$(head /dev/urandom | tr -dc '0-3' | cut -c1).0.0.0 Safari/537.36"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/12$(head /dev/urandom | tr -dc '2-5' | cut -c1).0.0.0 Safari/537.36"
|
||||
debug=$2
|
||||
|
||||
\cat << EOF > "$run_file"
|
||||
@@ -34,9 +34,12 @@ esac
|
||||
trap "exit 0" INT HUP
|
||||
info_$os "Parsing $domain.. Please wait..."
|
||||
|
||||
[ -z "$1" ] && url=$(search | (
|
||||
[ "$os" != "linux" ] && fzf --bind="change:reload:$run_file {q} 1" --prompt="Select Anime: " --with-nth 2.. -m || menu_$os "Select Anime: "
|
||||
) | tr ':' ' ' | tr -s ' ') || url=$(printf "%s" "$1" | sed -nE 's|.*/bangumi/([^/]*)/([^/]*)/p-([^-]*)-sub|\1\t\2 Episode \3|p')
|
||||
url=$(search | (
|
||||
case "$os" in
|
||||
linux) menu_$os "Select Anime: " ;;
|
||||
*) fzf --bind="change:reload:$run_file {q} 1" --prompt="Select Anime: " --with-nth 2.. -m ;;
|
||||
esac
|
||||
) | tr ':' ' ' | tr -s ' ') || true
|
||||
|
||||
[ -z "$url" ] && error_$os "No anime selected" && exit 0
|
||||
|
||||
|
||||
2
download
2
download
@@ -64,7 +64,7 @@ instagram() {
|
||||
|
||||
#main
|
||||
link="$1"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/12$(head /dev/urandom | tr -dc '0-3' | cut -c1).0.0.0 Safari/537.36"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/12$(head /dev/urandom | tr -dc '2-5' | cut -c1).0.0.0 Safari/537.36"
|
||||
|
||||
case $(uname -o) in
|
||||
*ndroid*)
|
||||
|
||||
2
revanced
2
revanced
@@ -26,7 +26,7 @@ download_keystore() {
|
||||
}
|
||||
|
||||
tmp_dir="${TMPDIR:-/tmp}/revanced"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
|
||||
agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/12$(head /dev/urandom | tr -dc '2-5' | cut -c1).0.0.0 Safari/537.36"
|
||||
apk_provider_url="https://www.apkmirror.com"
|
||||
date=$(date +%F)
|
||||
rv_cli="cli-$date.jar"
|
||||
|
||||
Reference in New Issue
Block a user