質問編集履歴
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,13 +40,13 @@
|
|
40
40
|
|
41
41
|
|
42
42
|
|
43
|
-
url = "
|
43
|
+
url = "https://www.city.miyazaki.miyazaki.jp/gyousei/html/reiki/H214902500027/778_0002.gif"
|
44
44
|
|
45
45
|
request = Request(url)
|
46
46
|
|
47
47
|
req = urlopen(request)
|
48
48
|
|
49
|
-
with open("don
|
49
|
+
with open("download_file.gif", "wb") as f:
|
50
50
|
|
51
51
|
f.write(req.read())
|
52
52
|
|