Created
May 10, 2021 23:09
-
-
Save EmperorPenguin18/a911ed91c858131e48807de577d70265 to your computer and use it in GitHub Desktop.
Download MTG art automatically
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
for i in {1..38} | |
do | |
lynx -listonly -nonumbers -dump https://www.artofmtg.com/set/page/$i | grep /art/ | xargs -L1 -i{} lynx -listonly -dump -nonumbers -image_links {} | grep jpg | grep -v "100x100" | xargs -L1 -i{} wget -nc {} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment