Find Jobs
Hire Freelancers

Scraping with selenium chromedriver through Tor network with the (ex. exit) nodes specified in the program code. -- 2

$10-30 USD

Closed
Posted almost 3 years ago

$10-30 USD

Paid on delivery
With Python, I need to do scraping with selenium chromedriver through Tor network with specified nodes. By the following code, I can do scraping through Tor network, but I couldn't figure out how to specify "entry_contries", "include_countries", and "exit_countries" in that code, but Not by torrc file. (Using Tor expert bundle: [login to view URL], not Tor browser, and Tor's path is established in advance.) -------------------------------------------------------------------------------- from [login to view URL] import Proxy, ProxyType from selenium import webdriver import subprocess #Tor, Proxy setting cmd = ['tor'] args = ["taskkill", "/im","[login to view URL]", "/f"] proxy_ip_port = 'socks5://[login to view URL]' proxy = Proxy() proxy.proxy_type = [login to view URL] proxy.http_proxy = proxy_ip_port proxy.ssl_proxy = proxy_ip_port capabilities = [login to view URL] proxy.add_to_capabilities(capabilities) #Tor start [login to view URL](cmd) #Selenium setting options = [login to view URL]() options.add_experimental_option('excludeSwitches', ['enable-logging']) driver = [login to view URL](options=options, desired_capabilities=capabilities) #Chrome start url = "[login to view URL]" [login to view URL](url) ip = driver.find_elements_by_class_name("value")[0].text country = driver.find_elements_by_class_name("value")[4].text print(ip + " & " + country) #Kill Tor [login to view URL](args) [login to view URL]() [login to view URL]() -------------------------------------------------------------------------------- So, I need the program above to be fixed. Environment: Windows 10, Python 3.9.4
Project ID: 30556081

About the project

3 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $27 USD for this job
User Avatar
You are very lucky!!! I have rich experience in scraping. so if you want to see my previous project, I can share. I can finish your project for a short time without any fail. **if you hire me, I will be your genie who solves all your wishes.** I can start work as soon as we discuss what you want exactly and what I have to do. Let's discuss more details about the job if you are interested in me. Looking forward to hear from you. Best regards.
$30 USD in 1 day
5.0 (9 reviews)
4.0
4.0
User Avatar
Dear Client Thank you for your kind attention. I've just checked your job description carefully. I'm senior developer with 5+ years of Python. By using Python, I used to make AI engine, BOT, Web Scraping Tools and so on. Let's discuss your job in chat. With good English skills, I'm going to discuss the job with you. I'd love to work with you. Look forward to hear from you soon. Thank you. Best Regards. Brian
$30 USD in 1 day
0.0 (0 reviews)
2.0
2.0
User Avatar
Hi, We are a team of experienced web designing and development experts. It would be our pleasure to work with you. We can assure you of the top notch work quality and a quick turnaround. Our service comes with a 30 days error support service and 100% satisfaction. Let's setup a zoom or phone call to discuss your project in detail. Looking forward to being a part of your project. Thanks, B. Brahmaiah
$20 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of JAPAN
Adachi, Japan
5.0
3
Member since Mar 9, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.