mirror of
https://github.com/Watchful1/PushshiftDumps.git
synced 2025-07-05 03:46:54 -04:00
Will have to rethink that
This commit is contained in:
parent
01170ebbdc
commit
cb1cefb563
1 changed files with 0 additions and 2 deletions
|
@ -60,8 +60,6 @@ def query_reddit(ids, reddit, object_type):
|
|||
break
|
||||
except prawcore.exceptions.ServerError:
|
||||
time.sleep(2)
|
||||
if response.status_code != 200:
|
||||
log.warning(f"4 requests failed with status code {response.status_code}")
|
||||
return response['data']['children']
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue