I need to scrape a website (e.g. [login to view URL]) and show the result in my website.
The sample project has a docker image (php-apache), a php file (that calls the scraping), and a python file, which scrapes using selenium.
I'm able to execute the generic python script ([login to view URL]) inside php. If I access Docker container as root, I'm able to run the python scrape file ([login to view URL]) successfully. However, it seams the python scrape file can't open selenium driver when it is called by php file, since apache's user is www-data.
Therefore, I need you to fix this configuration problem to scrape google's website and show the result on index.php.
2 pekerja bebas membida secara purata $28 untuk pekerjaan ini
Hi there, I am DevOps professional with over 4 year of experience. I have extensive experience in managing application with docker container. do ping me to discuss further. thank you.