Last active
April 8, 2018 12:51
-
-
Save pythonandscratch/fe482e9286722cd04aa67edbb2bd83f9 to your computer and use it in GitHub Desktop.
jyDownload.py
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
import urllib.request | |
import time | |
for i in range (100): | |
a = input("請輸入此素材的名稱,全部小寫,不能多打任何一個字元,包括空格,且請切換到半形:\n") | |
print("現在時間是{},現在我正在下載{}的素材,請稍等".format(time.strftime("%H:%M:%S"),a)) | |
urllib.request.urlretrieve("https://templated.co/{}/download".format(a),"{}.zip".format(a)) | |
hhh = input("quit?") | |
if (hhh == y): | |
quit() | |
else: | |
quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment