mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2025-12-20 07:15:20 +05:30
code cleanup
This commit is contained in:
1
ani-new
1
ani-new
@@ -10,6 +10,7 @@ decrypt_link() {
|
||||
curl -s -H "X-Requested-With:XMLHttpRequest" -H "User-Agent:$agent" -H "Referer:https:$1" "$ajax_url" -d "id=$ajax" -d "time=69420691337800813569" | jq -r '.source[].file' | head -4 | tail -1
|
||||
}
|
||||
|
||||
notify-send -t 1000 "parsing gogoanime.... please wait!!"
|
||||
url=$(curl -s -A "$agent" "https://gogoanime.film" | sed -nE 's/.*"name".*href="\/([^"]*)".*/\1/p' | dmenu -p "Select anime:")
|
||||
[ -z "$url" ] && notify-send -u critical "Err.. no anime selected" && exit 0
|
||||
refr=$(curl -s -A "$agent" "https://gogoanime.film/$url" | sed -n -E 's/^[[:space:]]*<a href="#" rel="100" data-video="([^"]*)".*/\1/p')
|
||||
|
||||
Reference in New Issue
Block a user