Created
July 21, 2017 02:53
-
-
Save ShaneDunn/b1482f2a7eec4c7395f91c861bdd0e90 to your computer and use it in GitHub Desktop.
Download "Largest FREE Microsoft eBook Giveaway" curl script
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
| curl –compressed -sD – -L -e “http://google.com” -A “Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)” “https://blogs.msdn.microsoft.com/mssmallbiz/2017/07/11/largest-free-microsoft-ebook-giveaway-im-giving-away-millions-of-free-microsoft-ebooks-again-including-windows-10-office-365-office-2016-power-bi-azure-windows-8-1-office-2013-sharepo/” | grep -E -i “PDF” | sed -n ‘s/.*href=”\([^”]*\).*/\1/p’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment