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
+5-3Lines changed: 5 additions & 3 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.3.1"
3
+
version_number="4.4.0"
4
4
5
5
# UI
6
6
@@ -106,7 +106,7 @@ dep_ch() {
106
106
107
107
# extract the video links from reponse of embed urls, extract mp4 links form m3u8 lists
108
108
get_links() {
109
-
episode_link="$(curl -e "https://${allanime_base}" -s --cipher "AES256-SHA256""https://allanimenews.com/apivtwo/clock.json?id=$*" -A "$agent"| sed 's|},{|\n|g'| sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p')"
109
+
episode_link="$(curl -e "https://${allanime_base}" -s --cipher "AES256-SHA256""https://allanimenews.com$*" -A "$agent"| sed 's|},{|\n|g'| sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p')"
110
110
case"$episode_link"in
111
111
*crunchyroll*)
112
112
curl -e "https://${allanime_base}" -s --cipher "AES256-SHA256""$episode_link" -A "$agent"| sed 's|^#.*x||g; s|,.*|p|g; /^#/d; $!N; s|\n| >|'| sort -nr
Copy file name to clipboardExpand all lines: ani-cli.1
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This tool scrapes the site allanime.
13
13
.PD0
14
14
.P
15
15
.PD
16
-
\f[B]ani-cli\f[R] without options defaults to iina on macOS, flatpak mpv on Steamdeck, mpv apk on android and mpv media player everywhere else.
16
+
\f[B]ani-cli\f[R] without options defaults to iina on macOS, flatpak mpv on Steamdeck, mpv apk on android, vlc on iOS and mpv media player everywhere else.
17
17
.SH OPTIONS
18
18
.TP
19
19
\fB\-e|--episode|-r|--range\fR\fI\,<episode>\/\fR
@@ -46,8 +46,11 @@ Fetch update from github.
46
46
\fB\-v|--vlc\fR
47
47
Use VLC as the media player.
48
48
.TP
49
-
\fB\-V|--version\fR
50
-
Print version number and exit.
49
+
\fB\-N|--non-interactive\fR
50
+
Disable the interactive menu.
51
+
.TP
52
+
\fB\-S|--select-nth\fR\fI\,<index>\/\fR
53
+
Selects nth entry.
51
54
.TP
52
55
\fB\--dub\fR
53
56
Play the dubbed version. Without this flag, it'll always play the subbed version.
0 commit comments