Python Forum
Safely running a web scraping script - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Safely running a web scraping script (/thread-24502.html)



Safely running a web scraping script - londonhdi - Feb-17-2020

Hi,
I've had a web scraping script built using Python and selenium by a developer from a gig website.
I'm not a developer myself so can't code review it.

I'm sure it's not doing anything it shouldn't do, but I want to give myself a bit of protection so when I run the script it definitely doesn't have access to my personal files on my Mac.

Could someone advise how to run it safely with that in mind? Would it segregate from my files if I ran it as a different user on my Mac?

Thanks,
HDI


RE: Safely running a web scraping script - Larz60+ - Feb-17-2020

Hard to say without seeing the code.
The code could have been written with good or bad intention.