Try forcing TLS 1.2 max to fix DataImpulse residential IP handshake failures
Some DataImpulse residential IPs drop Chromium's TLS 1.3 GREASE/key_share extensions mid-handshake (EOF error), while TLS 1.2 negotiation succeeds. Booking.com supports TLS 1.2 so this should not affect scrape results. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ef7c4790ca
commit
46eada16a3
1 changed files with 4 additions and 0 deletions
|
|
@ -229,6 +229,10 @@ class PlaywrightHotelPageBackend(ScraperBackend):
|
||||||
'--disable-infobars',
|
'--disable-infobars',
|
||||||
'--disable-extensions',
|
'--disable-extensions',
|
||||||
'--blink-settings=imagesEnabled=false',
|
'--blink-settings=imagesEnabled=false',
|
||||||
|
# Some DataImpulse residential IPs drop Chromium's TLS 1.3
|
||||||
|
# GREASE/key_share extensions mid-handshake. Force TLS 1.2
|
||||||
|
# to use a simpler handshake those IPs can handle.
|
||||||
|
'--ssl-version-max=tls1.2',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue