Fixed dump misplace of vars
This commit is contained in:
parent
a8e595c200
commit
5d2aeb1d5f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue