Fixed dump misplace of vars

This commit is contained in:
leca 2023-02-17 21:41:14 +03:00
parent a8e595c200
commit 5d2aeb1d5f
1 changed files with 3 additions and 2 deletions

View File

@ -15,10 +15,11 @@ def download_url(url):
resp = requests.get(url)
open(path, "wb").write(resp.content);
while (not done):
post_count = 0
page = 0
while (not done):
response = requests.get("https://api.rule34.xxx/index.php?page=dapi&s=post&json=1&q=index&tags=" + tags + "&pid=" + str(page) + "");
content = json.loads(response.content)
for entry in content: