Flowko/website-shot

Feature Request: Environment variable to set user agent string.

Leopere opened this issue · 2 comments

Perhaps a method to emulate user agent strings would be a great way to bypass issues where they block you from "scraping" a site.
image

indeed, I'll work on adding that

added USER_AGENT env, already has Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36 by default, which works great with the website u trying to screenshot stuff from,
just pull the latest version, and let me know if all is good, thanks