mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
Merge branch 'adam/get-page-header-timeout' into qa
This commit is contained in:
commit
7a6180daee
@ -343,7 +343,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