This commit is contained in:
CoolnsX
2021-09-08 10:54:56 +05:30
parent 10eb23741a
commit 5225554c1f
9 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ search_anime () {
search=$1
titlepattern='<a href="/category/'
curl -s "https://gogoanime.vc//search.html" \
curl -s "https://gogoanime.pe//search.html" \
-G \
-d "keyword=$search" |
sed -n -E '
@@ -54,7 +54,7 @@ search_eps () {
# get available episodes for anime_id
anime_id=$1
curl -s "https://gogoanime.vc/category/$anime_id" |
curl -s "https://gogoanime.pe/category/$anime_id" |
sed -n -E '
/^[[:space:]]*<a href="#" class="active" ep_start/{
s/.* '\''([0-9]*)'\'' ep_end = '\''([0-9]*)'\''.*/\2/p
@@ -69,7 +69,7 @@ get_links () {
ep_no=$2
dpage_url=$(
curl -s "https://gogoanime.vc/$anime_id-episode-$ep_no" |
curl -s "https://gogoanime.pe/$anime_id-episode-$ep_no" |
sed -n -E 's_^[[:space:]]*<a href="#" rel="100" data-video="([^"]*)" >.*_https:\1_p')
curl -s "$dpage_url" |