Skip to content

Instantly share code, notes, and snippets.

@taroyanaka
Created August 8, 2018 02:45
Show Gist options
  • Save taroyanaka/0c99dd8d0d9505ddcf83ea03d86ef48d to your computer and use it in GitHub Desktop.
Save taroyanaka/0c99dd8d0d9505ddcf83ea03d86ef48d to your computer and use it in GitHub Desktop.
for i in {1..7};do;curl -s "http://ero-kawa.com/hot/debut.php?term=2018-0$i" >> ./names ;done;
cat names|grep -oE "H2>.+<\/H2>"|grep -oE '[0-9]{4}\/[0-9]{1,2}\/[0-9]{1,2}\s.*<\/H2'|grep -v "<[^<]*>"|grep -oE "\s.*<"|tr -d " <"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment