mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-01-30 10:27:38 -08:00
gogoanime working again
This commit is contained in:
parent
876b6dd5dc
commit
e5c2a1796e
6
ani-cli
6
ani-cli
@ -42,7 +42,7 @@ search_anime () {
|
||||
search=$(printf '%s' "$1" | tr ' ' '-')
|
||||
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
|
||||
@ -68,7 +68,7 @@ get_dpage_link() {
|
||||
anime_id=$1
|
||||
ep_no=$2
|
||||
|
||||
curl -s "https://gogoanime.vc/$anime_id-episode-$ep_no" |
|
||||
curl -s "https://gogoanime.pe/$anime_id-episode-$ep_no" |
|
||||
sed -n -E '
|
||||
/^[[:space:]]*<li class="dowloads">/{
|
||||
s/.*href="([^"]*)".*/\1/p
|
||||
|
Loading…
x
Reference in New Issue
Block a user