Created
September 23, 2014 18:25
-
-
Save ttscoff/5df8d872cba0771af2db to your computer and use it in GitHub Desktop.
A oneliner using wgrep to pull all of the PICKS from Systematic (since I started using the PICK: prefix, anyway)
This file contains hidden or 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
for i in $(seq 53 115); do echo -ne "\r[$i]"; echo -e "\nSystematic #$i\n" >> ~/Desktop/SysPicks.md; wgrep -mq "#episode_links a:contains(PICK:)" http://5by5.tv/systematic/$i | tr -s '\n' | sed 's/PICK: //' | awk '{print "- "$0}' >> ~/Desktop/SysPicks.md; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment