Created
September 20, 2015 00:01
-
-
Save walfie/a7e550d5e3c4e01149f3 to your computer and use it in GitHub Desktop.
originally used to find passion flower on clubdam's website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
title='恋するみたいなキャラメリゼ' | |
curl -s 'http://www.clubdam.com/app/search/searchKeywordKaraoke.html' \ | |
-H 'Content-Type: application/x-www-form-urlencoded' \ | |
--data "keyword=$title&searchType=1&matchOption=0&x=0&y=0" \ | |
--compressed \ | |
| grep -i $title \ | |
| perl -pe 's/<.*?>/ /g' | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment