Created
April 16, 2018 15:32
-
-
Save dolpen/a64cc063c1e1527a80a293a0a1eb37d1 to your computer and use it in GitHub Desktop.
日報全部欲しい on bash on windows
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
curl https://www.asahi.com/articles/ASL4J669JL4JUEHF016.html | grep '<td class="link">' | grep pdf | awk -F'"' '{print $4}'| awk -F'/' '{printf "curl %s -o %s_%s\n",$0,$9,$10}' | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment