Find Jobs
Hire Freelancers

configure selenium with chromedriver properly including its library depencies to allow pycharm run existing scrap script

$8-15 USD / hour

Chiuso
Pubblicato circa 2 anni fa

$8-15 USD / hour

with by ubuntu 20.04 and windows 10 voraccle box virtual machine. working supervised by ANYDESK only, no SSH. Here is Python Script to run: import time from selenium import webdriver import pyodbc from [login to view URL] import By from [login to view URL] import Keys from [login to view URL] import WebDriverWait import [login to view URL] from [login to view URL] import Options from selenium_stealth import stealth hostname = "HOST_NAME" port = "PORT" def init_Browser(): options = Options() # options.add_argument('--proxy-server=%s' % hostname + ":" + port) # options.binary_location = 'C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\[login to view URL]' #options.add_argument("user-data-dir=/home/python/.config/google-chrome/") options.add_argument("start-maximized") #options.add_argument("--headless") options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', False) # # options.add_argument('--headless') # options.page_load_strategy = 'none' browser = [login to view URL](options=options) stealth(browser, languages=["en-US", "en"], vendor="Google Inc.", platform="Win32", webgl_vendor="Intel Inc.", renderer="Intel Iris OpenGL Engine", fix_hairline=True, ) return browser def scrape_data(browser): [login to view URL]('[login to view URL]') #first iteration plateNumber = browser.find_element(By.CSS_SELECTOR, '#MainContent_txtPlateNumber') plateNumber.send_keys("A0A000") [login to view URL](10) plateNo = WebDriverWait(browser, 10).until( EC.presence_of_element_located(( By.CSS_SELECTOR, "#MainContent_lblPlateNew")) ) print([login to view URL]) i = 301 while (i<999): try: browser.execute_script("[login to view URL](-1)") # try: plateNumber1 = WebDriverWait(browser, 8).until( EC.presence_of_element_located((By.CSS_SELECTOR, "#MainContent_txtPlateNumber")) ) [login to view URL]() plateNumber1.send_keys("A0A"+str(i)) button1 = browser.find_element(By.CSS_SELECTOR,'.g-recaptcha') [login to view URL]() PlacaNueva = WebDriverWait(browser, 8).until( EC.presence_of_element_located((By.CSS_SELECTOR, "#MainContent_lblPlateNew")) ) PlacaNueva = [login to view URL] PlacaAnterior = browser.find_element(By.CSS_SELECTOR, "#MainContent_lblPlatePrevious").text insert_DB(PlacaNueva, PlacaAnterior, Estado, PuntoEntrega, FechaDeInicio, FechaEntrega, NroSerie, Marca, Modelo, Propietario, TipoUso, TipoDeSol) i=i+1 except: print(str(i)+' not found') i = i+1 def insert_DB(PlacaNueva, PlacaAnterior, Estado, PuntoEntrega, FechaDeInicio, FechaEntrega, NroSerie, Marca, Modelo, Propietario, TipoUso, TipoDeSol): # MY SQL Server conn = [login to view URL]('Driver={SQL Server};' 'Server=[login to view URL];' 'Database=master;' 'UID=xx;' 'PWD=xx;' 'Trusted_Connection=no;') cursor = [login to view URL]() query = ("""INSERT INTO test VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)""") data_tuple = (str(PlacaNueva), str(PlacaAnterior), [login to view URL](query, data_tuple) [login to view URL]() def main(): browser = init_Browser() scrape_data(browser) error installing: Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.3.2\plugins\python-ce\helpers\[login to view URL]", line 114, in main do_install(pkgs) File "C:\Program Files\JetBrains\PyCharm Community Edition 2021.3.2\plugins\python-ce\helpers\[login to view URL]", line 59, in do_install ....
Rif. progetto: 33115117

Info sul progetto

7 proposte
Progetto a distanza
Attivo 2 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
7 freelance hanno fatto un'offerta media di $14 USD/ora
Avatar dell'utente
configure selenium with chromedriver properly including its library depencies to allow pycharm run existing scrap script configure selenium with chromedriver properly including its library depencies to allow pycharm run existing scrap script configure selenium with chromedriver properly including its library depencies to allow pycharm run existing scrap script configure selenium with chromedriver properly including its library depencies to allow pycharm run existing scrap script
$15 USD in 5 giorni
4,8 (89 valutazioni)
5,7
5,7
Avatar dell'utente
Hi, I am well experienced in both python and selenium. I can help you fix the error. Lets connect. :)
$12 USD in 40 giorni
5,0 (25 valutazioni)
4,9
4,9
Avatar dell'utente
Hi, I am super with python, working with quite few years. I can run this configure this selenium script for you and make it working at your side. Ping me to proceed. Thanks.
$12 USD in 30 giorni
5,0 (33 valutazioni)
4,8
4,8
Avatar dell'utente
Hello there. I have good experience with python and selenium, so can help you. Hope more discuss with you. Regards.
$25 USD in 40 giorni
5,0 (3 valutazioni)
4,6
4,6
Avatar dell'utente
HI I AM A PYTHON SELENIUM EXPERT I CAN MAKE THIS SCRIPT RUN ON YOUR PC (CAN EVEN CONVER IT INTO A APP YOU CAN RUN ANY HERE) MESSAGE ME READY TO START
$12 USD in 40 giorni
4,9 (24 valutazioni)
4,3
4,3

Info sul cliente

Bandiera: PERU
Lima, Peru
0,0
0
Membro dal feb 22, 2022

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.