Menu

Screenshot 200 websites without 200 cookie banners (Python, curl, no-code)
📰

Screenshot 200 websites without 200 cookie banners (Python, curl, no-code)

DEV Community: webdev·CyberMax·2 days ago
#dlRviepm
#devtowebdev#devto#dev#pricing#screenshot
Reading 0:00
15s threshold

Competitor tracking, client reports, visual QA after a deploy, a directory that needs a thumbnail for every listing: they all start with "take a screenshot of each of these URLs". The annoying part is never the screenshot. It is the cookie banner covering half of every image.

Short answer

Use a screenshot tool that dismisses consent banners before it captures. Capturewren (an Apify Actor) clicks away OneTrust, Cookiebot, Didomi, Quantcast, TrustArc, Usercentrics, CookieYes and plain "Accept all" buttons in 10+ languages, then captures the first screen or the full page, and returns the page title, H1, meta description and visible text with each image. $0.003 per screenshot; failed pages are free.

Step by step

Put your URLs in a list (hundreds are fine).

Choose device (desktop or mobile), fullPage true or false, and format (png or jpeg).

Keep dismissCookieBanners on (the default).

Run it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.