Closed cquark7 closed 5 years ago
When I open the same website normally using Google Chrome it shows "privacy error". In order to access the site I have to click on "advanced" and then "proceed anyway". This answer https://superuser.com/a/1036062 describes how a developer can disable such errors in Chrome/Chromium, but I don't know how to do it using requests-html
@cquark7 The issue is the ssl cert is not valid, in requests lib there is a verify= param to toggle the ssl check so use that and you should be good
the issue with calling .render is that it uses pyppeteer to make the request, which bypasses the verify=False, so you'll see certificate errors when trying to call render. There is an ignoreHTTPSErrors bool argument in pyppeteer, but I can't figure out how to force that within requests-html...
Hi @DavidMay121
On the last version released yesterday, you can just pass verify=False
when initializing your session.
this doesnt seem to be working anymore. The parameter seem to be ignored and there is nothing about this parameter in the official documentation. Any news on this?
I agree with ^, this doesn't seem to be a thing anymore. There isn't any mention of the verify
parameter in the docs either. Are there any updates on this?
I am using requests-html library to render JavaScript on a webpage, but I received this error: pyppeteer.errors.PageError: net::ERR_CERT_SYMANTEC_LEGACY
How can I fix this error in requests-html?