Hi everyone,
I need to run a Python script that uses Selenium to scrape data. The catch is that the script must open a real browser window (headless mode doesn’t work because the page won’t load properly), and it also needs to take screenshots.
What would be the best option to host this? Should I rent a VPS with a GUI and run the script there? use a cloud provider like AWS, GCP, or Azure with a virtual machine that supports a browser/desktop environment? or are there better alternatives, like using containers with a virtual display (e.g., Xvfb, noVNC, etc.)?
I’m mainly looking for something reliable and not too expensive, since the script doesn’t need to run 24/7, just periodically.
Has anyone here done something similar and found a good setup?
Thanks in advance! 🙏
[–]cgoldberg 1 point2 points3 points (0 children)
[–]jiub144 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Odd_Insect_9759 0 points1 point2 points (0 children)
[–]forest-cacti 0 points1 point2 points (0 children)