Update an existing Python script (uses selenium webdriver, chromium) that is used to capture screenshots of websites with added functionality.
You MUST use your own environment to test and work on this, you will not have access to our servers. Working files attached.
Requirements:
- Update script to pass the following arguments height, width, url, type (jpg, png, pdf), filename(output).
- Pass these arguments to the script and have it properly size and output the file
- Screenshot only homepage view(currently it screenshots the home page but also the scrolling and combines them, we just need the page specified in URL (viewport)).
Optional: Will pay bonus if you can additionally get it to allow us to use a background image and it outputs the screenshot within the image. (ex: a image of a monitor, iphone etc with the screenshot filling the device image)
In our base digital ocean environment we installed the following to get the script working:
sudo apt-get update
apt install python-pip
sudo pip install selenium
pip install image
sudo apt-get install libnss3
[login to view URL]
[login to view URL]
chmod a+x /usr/bin/chromedriver
sudo apt-get install google-chrome-stable
sudo apt-get install chromium-browser
pip install pyvirtualdisplay
sudo apt-get install xvfb
Hi
Nice to meet you.
I'm python expert and my last project on freelancer.com is also python scraping task.
My past works:
Youtube comment scrapping
Real estate property list to csv
Job-site content to csv
And scrap posts from facebook, twitter, instagram using scrapy.
I checked your script and no problem to do fix that.
I can help you related with python.
Let me know if you are interested in me.
Regards.
Hi, i'm a professional Web Automation Developer, and i have wide experience with both python and Selenium, so i can help you modifying your script, please let me know if you are interested, thanks.
Hi there! YES, I can add a FRAME or Monitor graphic etc. to your image too and YES, can also add variable of image sizes etc.! Ready to discuss further. Shall we? :)
And yeah, can use my own environment as well, may be I can give you only the end-result as PYTHON SCRIPT or as VirtualEnvironment if you prefer that? :)
and I can already see width etc. in code, can you confirm exact issue/fixes you need done?
hi, I have just checked your description carefully and already setup python django environment.
I can complete your project about 3 problems you requirement.
If you have url to screen shot, I can use it.
I expect to work with you.
My skill : python, web scraping, python django, python script
Hi,
It seems straight forward for what you are asking for . just for clarification height, width arguments are used to specify height, width of resulting image right? . if you want i can start working on it right now. let me know if you are interested i will be available in chat
Thanks.