shot-scraper icon indicating copy to clipboard operation
shot-scraper copied to clipboard

How to allow insecure HTTPS connection with broken certs?

Open belonesox opened this issue 1 year ago • 1 comments

How to allow insecure HTTPS connection with broken certs?

Like single-file --browser-ignore-insecure-certs ... ?

belonesox avatar Jul 31 '24 13:07 belonesox

I encountered this issue today when trying to take screen grabs of a local Proxmox VE web interface. The following commands worked for me to avoid the playwright._impl._errors.Error: Page.goto: net::ERR_CERT_AUTHORITY_INVALID error that I was getting.

Scrape a single URL:

shot-scraper shot --browser-arg "--ignore-certificate-errors" [...]

Scrape multiple URLs specified in a YAML configuration file:

shot-scraper multi --browser-arg "--ignore-certificate-errors" [...]

emteelb avatar Sep 03 '24 19:09 emteelb