mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
update base_url to new site
This commit is contained in:
parent
7907e809b8
commit
e29d3f7db3
4
ani-cli
4
ani-cli
@ -800,11 +800,11 @@ parse_args() {
|
||||
main() {
|
||||
case $scrape in
|
||||
query)
|
||||
BASE_URL="$(curl -s -L -o /dev/null -w "%{url_effective}\n" https://gogoanime.cm)"
|
||||
BASE_URL="$(curl -s -L -o /dev/null -w "%{url_effective}\n" https://gogoanime.fi)"
|
||||
stream "$@"
|
||||
;;
|
||||
history)
|
||||
BASE_URL="$(curl -s -L -o /dev/null -w "%{url_effective}\n" https://gogoanime.cm)"
|
||||
BASE_URL="$(curl -s -L -o /dev/null -w "%{url_effective}\n" https://gogoanime.fi)"
|
||||
stmt="SELECT DISTINCT anime_name FROM search_history ORDER BY search_date DESC"
|
||||
search_results="$(run_stmt "$stmt")"
|
||||
[ -z "$search_results" ] && die "History is empty"
|
||||
|
Loading…
Reference in New Issue
Block a user