mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-12-07 02:53:36 -08:00
fix new anime query not working
This commit is contained in:
5
ani-cli
5
ani-cli
@@ -298,8 +298,9 @@ get_search_query() {
|
||||
|
||||
# Remove the id from the query
|
||||
query="${query//[1-9]*\. /}"
|
||||
# Remove trailing whitespace to avoid being converted to '-' next step
|
||||
query="${query// /}"
|
||||
# fixes '-' at end of selected anime, but removes spaces from queries
|
||||
# works with trailing '-' so remove for now
|
||||
# query="${query// /}"
|
||||
log "Query: $query"
|
||||
else
|
||||
query=$*
|
||||
|
||||
Reference in New Issue
Block a user