Skip to content

Commit 624a843

Browse files
authored
Merge pull request Show-Me-the-Code#230 from oscarli/patch-1
Update main.py
2 parents 6e23f22 + 94ac2a7 commit 624a843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monkey/0013/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def spider(url):
2626

2727
# 下载图片
2828
def download_Image(url, save_path):
29-
urllib.request.urlretrieve(url, save_path)
29+
urllib.urlretrieve(url, save_path)
3030

3131

3232
if __name__ == '__main__':
3333
url = "http://tieba.baidu.com/p/2166231880"
34-
spider(url)
34+
spider(url)

0 commit comments

Comments
 (0)