diff --git a/ani-cli b/ani-cli index 31e8727..888ac48 100755 --- a/ani-cli +++ b/ani-cli @@ -1,5 +1,6 @@ #!/usr/bin/env bash +AGENT="Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0" BASE_URL="https://goload.pro" CFG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/aniwrapper" URLFILE="${XDG_CONFIG_HOME:-$HOME/.config}/aniwrapper/ani-url" @@ -86,7 +87,7 @@ check_input() { get_dpage_link() { anime_id=$1 ep_no=$2 - curl -s "$BASE_URL/videos/${anime_id}${ep_no}" | sed -nE 's_^[[:space:]]*