elestio / ws-screenshot

A simple way to take a screenshot of a website by providing its URL. ws-screenshot include a simple web UI but also a REST API and a Websocket API to automate screenshots.
http://backup15.terasp.net/
MIT License
125 stars 39 forks source link

Browser resolution and automation detection #38

Open ml-airflow opened 9 months ago

ml-airflow commented 9 months ago

This is a great tool and I hope you will keep updating it!

We have two issues:

  1. when we screenshot responsive sites, no matter what i put in the resx/resy, it keeps showing the mobile/tablet version of the site , even if I put crazy values
  2. most sites (but easy to check with reddit.com) that care about this kind of blocking see this browser instance as something automated and pop up protection from it; it doesn't really seem to matter from where I shoot the request

Does either of these sound familiar and are there fixes?

I guess a follow up for 2. would be; can we add proxy servers (optional) ?

jwjacobs88 commented 9 months ago

Do you have an example for example 1? I'm not able to replicate that issue with a few responsive websites I tried.

For Reddit.com, I am able to screenshot it running locally.

image