Created
July 27, 2014 17:55
-
-
Save pry0cc/628f1dd6948472874510 to your computer and use it in GitHub Desktop.
Uses wget to download image from wallbase.cc - Just append page url as a command line argument
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
#!/bin/bash | |
wget $(wget -O - $1 | grep 'jpg\|png' | grep wallpaper | sed 's/<img src="//g' | sed 's/" class="wall stage1 wide">//g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment