mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 08:09:48 -05:00
fix: syntax bug on HEADER_REQUEST_TIMEOUT
This commit is contained in:
parent
c5844dfdd6
commit
3afc63242b
@ -335,7 +335,7 @@ class BrozzlerWorker:
|
||||
# see https://docs.python-requests.org/en/latest/user/advanced/#body-content-workflow
|
||||
try:
|
||||
with requests.get(
|
||||
page.url, stream=True, verify=False, timeout=HEADER_REQUEST_TIMEOUT
|
||||
page.url, stream=True, verify=False, timeout=self.HEADER_REQUEST_TIMEOUT
|
||||
) as r:
|
||||
return r.headers
|
||||
except requests.exceptions.Timeout as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user