Skip to content

Commit 7ec7737

Browse files
committed
Fix 0013
1 parent 4564269 commit 7ec7737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Drake-Z/0013/0013.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ def Imageurl(data):
2323
data = re_Imageurl.findall(data) #输出图片链接
2424
downloadImage(data)
2525

26-
def downloadImage(tupianlianjie):
26+
def downloadImage(pic_url):
2727
dirct = '0013'
2828
try:
2929
if not os.path.exists(dirct): #创建存放目录
3030
os.mkdir(dirct)
3131
except:
3232
print('Failed to create directory in %s' % dirct)
3333
exit()
34-
for i in tupianlianjie:
34+
for i in pic_url:
3535
data = urllib.request.urlopen(i).read()
3636
i = re.split('/', i)[-1]
3737
print(i)

0 commit comments

Comments
 (0)