Last active
August 1, 2017 20:20
-
-
Save leogdion/361b027ae1064c8749074ae3274b47dc to your computer and use it in GitHub Desktop.
export-script.sh
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 -s http://javascriptweekly.com/issues/$1 | pup '.issue-html table div > a[title] json{}' | jq '.[]' | jq -r '.text + " " + .href' | |
#curl -s http://iosdevweekly.com/issues/$1 | pup 'section .item h3.item__title a json{}' | jq '.[]' | jq -r '.text + " " + .href' | |
#curl -s http://www.echojs.com | pup 'article[data-news-id] a[rel] json{}' | jq '.[]' | jq -r '.text + " " + .href' | |
#curl -s https://swiftnews.curated.co/issues/$1 | pup 'section .item h3.item__title a json{}' | jq '.[]' | jq -r '.text + " " + .href' | |
#curl -s https://swiftnews.curated.co/issues/$1 | pup 'section .item h3.item__title a json{}' | jq '.[]' | jq -r '.text + " " + .href' | |
#curl -s http://ios-goodies.com | pup '.post .body-text li json{}' | jq '.[]' | jq -r '.children[0].text + " by " + .children[1].text + " " + .children[0].href' | |
curl -s https://mobilewebweekly.com/issues/$1 | pup '.issue-html table table table table td > a[title] json{}' | jq '.[]' | jq -r '.text + " http://" + .title' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment