Author

Topic: I need a script to take screenshots of a webpage automatically (Python) (Read 28 times)

newbie
Activity: 9
Merit: 0
Thanks, guys, I appreciate it. I wasn't sure if I'll get any replies but I had to give it a shot. Off I go to look into these.
newbie
Activity: 23
Merit: 1
I got to learn how knotty python screen capture can be. In some cases, using Selenium headlessly would give me better screenshots. A couple of other options you can test out are explained here in detail. Depends on a couple of factors if they will work in some specific cases, as always. It is still possible that you'll be struggling with pop-ups and cookie banners, plus all kinds of lurking issues if you need full-page screenshots.
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
Can anyone help me with this? I had no idea it would be so nerve-racking. I tried using Selenium, but for some websites, those pop-ups and cookie banners are ruining it. Some screenshots are taken while the page is still loading; I end up having an empty space and a block of text/image missing. There are more and more pages I need to capture and I can't spend too much time trying to figure out each one separately.

https://www.google.com/search?q=python+web+scraping
newbie
Activity: 9
Merit: 0
Can anyone help me with this? I had no idea it would be so nerve-racking. I tried using Selenium, but for some websites, those pop-ups and cookie banners are ruining it. Some screenshots are taken while the page is still loading; I end up having an empty space and a block of text/image missing. There are more and more pages I need to capture and I can't spend too much time trying to figure out each one separately.
Jump to: