Færdiggjort

Write a python script that uses selenium to open my website from rotating ips

This guy has written some functionality to open a webpage in a browser from multiple unique ip addresses.

[login to view URL]

I want you to take this functionality, test it and write this in a python script.

The Script should be written in Python3.

The script should be run using command line and should accept the following parameters in command line arguments:

1. target_web_address - show clear error message if not a valid url or doesn't return a 200 response.

2. target_conversion_element (options: "form" or "button") - visitor submits that form or clicks that button.

3. target_conversion_element_id - visitor submits the form with that id or clicks the button with that id.

4. conversion_hint - a string that if present anywhere in the source code of that webpage, visitor will convert

5. num_converting_visitors - number of unique visitors that will convert.

6. converting_visitors_time_spent (acceptable format: (<num>,<num>) - script should arbitrarily select somewhere in this time range in seconds each converting visitor will spend on the site before converting

7. num_non_converting_visitors - number of unique visitors that will NOT convert.

8. non_converting_visitors_time_spent (acceptable format: (<num>,<num>) - script should arbitrarily select somewhere in this time range in seconds each NON converting visitor will spend on the site before closing the browser

In the above, the conversion means: visitor (i.e, selenium client) will convert i.e, submit the form of the given id or click the button of the given id.

Visitor should ONLY convert if the given `conversion hint` is present in the webpage source code.

Clear all sessions before starting selenium browser for each unique visitor. This is probably done automatially as hinted in the answer at that link: [login to view URL]

Show clear error message the webpage provided doesn't return a 200 response or doesn't load.

Show clear error message if the script user provides unsuitable values for the parameters in command line arguments.

Show clear error message if the given target_conversion_element or further target_conversion_element_id is not present in the webpage because this is supposed to be present in all of them.

Show clear error message if the given conversion hint is not found in any of the webpages opened because it is supposed to be present in atleast some of them.

Evner: Python, Web Skrabning, Selenium Webdriver

Se mere: python script scrape website, write script macro copy data website excel, python script extract data website, ip rotation python, python-requests spoof ip, python proxy, selenium rotating proxy, selenium change ip address python, web scraping ip rotation service, selenium proxy python chrome, free proxies for web scraping, need help write python script operate telit module, need write python script telit gc864quad module, python script data website, script open website inside iframe, login website python script, python script crawl website, python script file write telit, python script fill form website, python script retrieve data website

Om arbejdsgiveren:
( 108 bedømmelser ) Leeds, United Kingdom

Projekt ID: #26401461

Tildelt til:

ihorkokhi8

Hi I have read your requirement very carefully so I am really confidence I have rich experiences with web scrapping with python BS4, Selenium I have finished lots of web scrapping projects from e-shop, IGDB, Football Flere

$50 USD på 1 dag
(4 bedømmelser)
3.2

2 freelancere byder i gennemsnit $35 på dette job

kholmogorovadev

hello. a am python scrappin g expert using selenium. I can provide you good results and before start work, I can show you my example. anyway I can do it in success on time. Please inform me. Best Regards. From Alexand Flere

$20 USD in 7 dage
(2 bedømmelser)
2.7