Skip to content

Commit

Permalink
replaced \t with tab literal
Browse files Browse the repository at this point in the history
  • Loading branch information
HirschBerge committed Oct 10, 2024
1 parent ab37d6d commit 8ee8b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ani-cli
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ search_anime() {
search_gql="query( \$search: SearchInput \$limit: Int \$page: Int \$translationType: VaildTranslationTypeEnumType \$countryOrigin: VaildCountryOriginEnumType ) { shows( search: \$search limit: \$limit page: \$page translationType: \$translationType countryOrigin: \$countryOrigin ) { edges { _id name availableEpisodes __typename } }}"

curl -e "$allanime_refr" -s -G "${allanime_api}/api" --data-urlencode "variables={\"search\":{\"allowAdult\":false,\"allowUnknown\":false,\"query\":\"$1\"},\"limit\":40,\"page\":1,\"translationType\":\"$mode\",\"countryOrigin\":\"ALL\"}" --data-urlencode "query=$search_gql" -A "$agent" | sed 's|Show|\
| g' | sed -nE "s|.*_id\":\"([^\"]*)\",\"name\":\"(.+)\",.*${mode}\":([1-9][^,]*).*|\1\t\2 (\3 episodes)|p" | sed 's/\\"//g'
| g' | sed -nE "s|.*_id\":\"([^\"]*)\",\"name\":\"(.+)\",.*${mode}\":([1-9][^,]*).*|\1 \2 (\3 episodes)|p" | sed 's/\\"//g'
}

time_until_next_ep() {
Expand Down

0 comments on commit 8ee8b92

Please sign in to comment.