mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-09-19 12:14:49 -04:00
fix: syntax bug on HEADER_REQUEST_TIMEOUT
This commit is contained in:
parent
c5844dfdd6
commit
3afc63242b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue