mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
@@ -425,6 +425,8 @@ def make_site_result(
|
|||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
"User-Agent": get_random_user_agent(),
|
"User-Agent": get_random_user_agent(),
|
||||||
|
# tell server that we want to close connection after request
|
||||||
|
"Connection": "close",
|
||||||
}
|
}
|
||||||
|
|
||||||
headers.update(site.headers)
|
headers.update(site.headers)
|
||||||
|
|||||||
Reference in New Issue
Block a user