Use an HTTPS agent to enforce TLS 1.3 in got-scrap...
# apify-platform
m
Is there a way to change tls version when scraping with CheerioCrawler?
h
Someone will reply to you shortly. In the meantime, this might help:
f
hi! you can edit https options in preNavigationHooks, so you could try this:
Copy code
preNavigationHooks: [
            async (crawlingContext, opts: OptionsInit) => {
                opts ??= {};
                opts.https ??= {};
                opts.https.minVersion = 'TLSv1.3';
}
]
2 Views