You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ani-cli
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#!/bin/sh
2
2
3
-
version_number="4.9.5"
3
+
version_number="4.9.6"
4
4
5
5
# UI
6
6
@@ -218,7 +218,7 @@ search_anime() {
218
218
219
219
time_until_next_ep() {
220
220
animeschedule="https://animeschedule.net"
221
-
curl -s -G "$animeschedule/api/v3/anime" --data-urlencode"q=$1"| sed 's|"id"|\n|g'| sed -nE 's|.*,"route":"([^"]*)","premier.*|\1|p'|whileread -r anime;do
221
+
curl -s -G "$animeschedule/api/v3/anime" --data "q=$1"| sed 's|"id"|\n|g'| sed -nE 's|.*,"route":"([^"]*)","premier.*|\1|p'|whileread -r anime;do
222
222
data=$(curl -s "$animeschedule/anime/$anime"| sed '1,/"anime-header-list-buttons-wrapper"/d'| sed -nE 's|.*countdown-time-raw" datetime="([^"]*)">.*|Next Raw Release: \1|p;s|.*countdown-time" datetime="([^"]*)">.*|Next Sub Release: \1|p;s|.*english-title">([^<]*)<.*|English Title: \1|p;s|.*main-title".*>([^<]*)<.*|Japanese Title: \1|p')
0 commit comments