From 2c7789c58fdcf0cce196d00b1f39534b7ca5e5ba Mon Sep 17 00:00:00 2001 From: Kyle Yasuda <33813108+ksyasuda@users.noreply.github.com> Date: Fri, 29 Jul 2022 22:53:56 -0700 Subject: [PATCH] fix duplicate search results (#15) --- ani-cli | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ani-cli b/ani-cli index f0a7847..0623dfb 100755 --- a/ani-cli +++ b/ani-cli @@ -292,7 +292,7 @@ search_anime() { fi lg "Search Query: $search" curl -s "https://gogoanime.lu//search.html?keyword=$search" -L | - sed -nE 's_^[[:space:]]*$_\1_p' } # only lets the user pass in case of a valid search @@ -714,6 +714,7 @@ main() { for ep in $episodes; do open_episode "$selection_id" "$ep" "$download_dir" + sleep 2 done if ((is_download)); then