Python Forum
Python+Selenium+PhantomJS with proxy list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python+Selenium+PhantomJS with proxy list
#1
In my script i used this method for working PhantomJS with proxy:
service_args = [
    '--proxy=0.0.0.0:3128',
    '--proxy-type=http',
    ]
browser = webdriver.PhantomJS(service_args=service_args)
Please tell me can I use a proxy list ? I need that script worked until the PhantomJS will pass through the all proxy in list? And how to implement that at the idle proxy, he wrote a message and move to the next? For example put detain 20 seconds and if there is no response from the proxy to go further.
Thank you advance
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use a proxy when web scraping with Python? swiftproxy 0 2,230 Aug-10-2024, 12:24 PM
Last Post: swiftproxy
Lightbulb Python web scraping example using residential proxy swiftproxy 1 1,364 Aug-09-2024, 06:33 AM
Last Post: Sheizips
  How to configure proxy rotation in Python? swiftproxy 0 881 Aug-07-2024, 11:05 AM
Last Post: swiftproxy
  Selenium innerHTML list, print specific value denis22934 2 5,307 Jun-14-2021, 04:59 AM
Last Post: denis22934
  how to add proxy authentication selenium farhan275 10 19,383 Sep-10-2020, 10:18 PM
Last Post: farhan275
  With Selenium create a google Search list in Incognito mode withe specific location, tsurubaso 3 5,342 Jun-15-2020, 12:34 PM
Last Post: tsurubaso
  Proxy Variable in Selenium wont work with FireFox Profile Proxy Setting. MIPython 0 9,296 Jul-13-2018, 05:43 PM
Last Post: MIPython
  seleniem PhantomJS stops working, while Chome still working metulburr 7 6,168 Feb-04-2018, 02:51 PM
Last Post: metulburr
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 4,505 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020