Add missing while loop to Requests downloader
This commit is contained in:
@@ -67,6 +67,7 @@ def requests(
|
|||||||
out_path.parent.mkdir(parents=True, exist_ok=True)
|
out_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
attempts = 1
|
attempts = 1
|
||||||
|
|
||||||
|
while True:
|
||||||
try:
|
try:
|
||||||
stream = session.get(url, stream=True)
|
stream = session.get(url, stream=True)
|
||||||
stream.raise_for_status()
|
stream.raise_for_status()
|
||||||
|
|||||||
Reference in New Issue
Block a user