Created
December 30, 2016 03:48
-
-
Save xiaotangyuan/35b2c2a5835b12920da0ab8e67a7f0a0 to your computer and use it in GitHub Desktop.
download walking dead comic
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
# encoding=utf8 | |
import commands | |
import time | |
base_url = "http://www.omgbeaupeep.com/comics/mangas/The%20Walking%20Dead/001%20-%20The%20Walking%20Dead%20001/The-Walking-Dead-Comic-00{pic}.jpg" | |
for i in range(9,53): | |
image_url = base_url.replace('{pic}',str(i)) | |
order = 'wget %s ' % image_url | |
print order | |
res = commands.getstatusoutput(order) | |
# print res | |
time.sleep(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment