diff --git a/ani-cli b/ani-cli index 1b6de93..7c00672 100755 --- a/ani-cli +++ b/ani-cli @@ -7,7 +7,7 @@ fi VERBOSE=0 -BASE_URL="https://gogoanime.cm" +BASE_URL="https://www1.gogoanime.cm/" CFG_DIR="$XDG_CONFIG_HOME/aniwrapper" ROFI_CFG="meh.rasi" @@ -287,8 +287,8 @@ anime_selection() { while read -r anime_id; do # alternating colors for menu # [ $((count % 2)) -eq 0 ] && - # menu_format_string=$menu_format_string_c1 || - # menu_format_string=$menu_format_string_c2 + # menu_format_string=$menu_format_string_c1 || + # menu_format_string=$menu_format_string_c2 menu+="$count. $anime_id\n" idx=$((count - 1)) @@ -445,17 +445,17 @@ open_episode() { video_url=$(get_links "$dpage_url") case $video_url in - *streamtape*) - # If direct download not available then scrape streamtape.com - BROWSER=${BROWSER:-firefox} - printf "scraping streamtape.com\n" - video_url=$(curl -s "$video_url" | sed -n -E ' + *streamtape*) + # If direct download not available then scrape streamtape.com + BROWSER=${BROWSER:-firefox} + printf "scraping streamtape.com\n" + video_url=$(curl -s "$video_url" | sed -n -E ' /^