回答編集履歴
1
test
CHANGED
@@ -23,8 +23,7 @@
|
|
23
23
|
end_times = 10000
|
24
24
|
url = "https://danbooru.donmai.us/posts/6632499?q=jolteon"
|
25
25
|
|
26
|
-
if not os.path.exists(output_dir):
|
27
|
-
|
26
|
+
os.makedirs(output_dir, exist_ok=True)
|
28
27
|
|
29
28
|
for page in range(end_times):
|
30
29
|
response = requests.get(url)
|