search (225B)
1 #!/bin/rc 2 # search for title on mangaupdates 3 4 api_url='https://api.mangaupdates.com/v1' 5 { 6 cat <<EOF 7 { 8 "search": "$*", 9 "stype": "title" 10 } 11 EOF 12 } | hget -P -r 'Content-Type: application/json' $api_url/series/search | json/fmt