Hey, I have a question, when using selenium wire to do what you showed, can you then go on a website and click buttons and send keys? when I try it I get errors
Let's say your text file is called "ips.txt" and the row name is data: You could do this and get a list with each proxy in the ip:port@username:password format: Link to the code: pastebin.com/tEjdxF4F hope it helped
Of course, for the code to work you could make a text file like this: data Ip:port:username:password, Ip:port:username:password, Ip:port:username:password, Etc
@@techpath3687 okay! now that we've established taking proxies from the txt file, how do i make selenium use the proxies with imported via the text file?
You just put one of them proxies[0] for example in the 'http', 'https' field, so you would have 'http': "" + proxies[0] and the same for https. You can't rotate them in selenium, so you have to use them individually.
I think it should work since you can do it in selenium. It should be in the options argument. Check google for normal user agent in selenium, and it should probably work too. Maybe it’s in the extra argument options (chrome_options)
great tutorial! Did you find some way to validate the certificate and make it a secure connection? Only seems to affect me while I'm using a proxy. If no proxy then still it says the same thing, but websites don't cause any trouble.
@@avinashsah5456 Hello friend, I have the same problem. Do you can help me please? When i run my code, in the address bar, appears NOT SECURE (red color) and the page to visiting has a https verified. Please help me, I need resolve
You don’t need to set it up to /tmp. You just need to put it somewhere and use that path in the code. « Setting it up » is just having the driver in a place
It’s not really a coding concept, the path is just where you put the file. /home, /root etc. In windows it could be C:/, in users, on desktop etc. Try watching a video on opening text files in python, they should talk about paths probably
@@techpath3687 I’ve deleted most of paths to try locate my chromedriver location and to remove access to chromedriver at the same time but when I open simple project chrome stills opens and I cant locate where that driver is
Hello friend, congrats for your video, its amazing. Friend, I´m following your video, and this is working. But, when i run my code, in the address bar, appears NOT SECURE (red color) and the page to visiting has a https verified. Do you can help me please.
hey! 🙂Congrat for your videos, they help me a lot to progress. This might be a stupid question, but I would like to know how do we make our program know which technique to use between authenticating and without authentication? Sometimes I use proxies that need authentication and sometimes I don't.I would like to have one single program for both cases. Thanks you for all
@@techpath3687 Sorry, I misspoke😂. I have a proxy.txt file and my proxies are mixed up. Some are with authentication and others don't. And I wanted to know how I could link your 2 videos on the proxies to have a single code (with and without authentication)
Well if your file has proxies that require authentication, then there must be username and password in the file. You could just import selenium and seleniumwire and use one or the other if the proxy has authentication credentials in the file
hello friend it's ok I'm Br but I want to develop a simple system for those who understand the subject but I'm a layman and I really want this idea that I have in practice but I need the help of someone who knows the area if interested in helping me I can pay for the service if be interested reply that I will send my contt
127.0.0.1:62258: ConnectionAbortedError(10053, 'An established connection was aborted by the software in your host machine', None, 10053, None) Does this error mean its aborted proxy connection and is instead using my local connection
Thank you for this awesome tutorial but I have a question, I keep getting this error log, can you help me with this: seleniumwire.thirdparty.mitmproxy.exceptions.TcpDisconnect: [WinError 10053] An established connection was aborted by the software in your host machine Thank you for all!
This was so helpful since selenium doesn’t have built in authentication
I was trying to test my code but i had no clue how to test it, until i saw your video, thanks you. it was really helpfull
You saved my life thank you
You need to make more videos! These are very helpful and well explained so thank you a lot
Planning on uploading some soon :) a different format
Ty so much ! But now, how can i do if i want to add others options arguments, how can i add in options arguments this proxies options ?
Great video. Really helpful.
Hey, I have a question, when using selenium wire to do what you showed, can you then go on a website and click buttons and send keys? when I try it I get errors
Hello. There are some problems that the ip or ip is changed, but any website says there is no internet with strong internet presence
Muchas gracias, llevo dias tratando de que conecte al proxy de mi empresa y gracias a tu video lo pude lograr
That's a great video you simplified it a lot others were giving long codes and i didn't wanted my program to look messy it helped a lot
Thank you
Excellent Stuff, I subscribed!
can i use the different kind of proxy with the same method, socks4, socks5 and http?
thx this video
I get invalid syntax in the no_proxy column
what should i do?
hi, how do you use auth proxies from a txt file in the form of "ip:port:username:password" ?
Let's say your text file is called "ips.txt" and the row name is data:
You could do this and get a list with each proxy in the ip:port@username:password format:
Link to the code: pastebin.com/tEjdxF4F
hope it helped
@@techpath3687 thanks for your prompt reply! is there any way i could use a .txt file instead of a csv file?
Of course, for the code to work you could make a text file like this:
data
Ip:port:username:password,
Ip:port:username:password,
Ip:port:username:password,
Etc
@@techpath3687 okay! now that we've established taking proxies from the txt file, how do i make selenium use the proxies with imported via the text file?
You just put one of them proxies[0] for example in the 'http', 'https' field, so you would have 'http': "" + proxies[0] and the same for https. You can't rotate them in selenium, so you have to use them individually.
Hi, my selenium-wire is very slow, but selenium is too fast, so the same page can load for 1 minute and 3 secs, what should i do to fix this problem?
hello, i have a question, how to set auth proxy in helium
how to rotate proxy authentication using seleniumwire please
Have you try with Remote driver ?
how to get proxy or buy proxy ?
running into issue where No such file or directory: '/var/folders/vw/k7ldrrt15wv88p4y19x8626h0000gn/T/_MEISHThhj/seleniumwire/ca.crt'
me too, i have the same error....any solution please
this happend when create a .exe file and move the app another pc, while i am using the app in my pc is all correct...
@@randomlife3506 yea i turned the code into a exe with pyinstaller
@@Rexdrey i use auto-py-to-exe but i can not fix yet :(, the app work perfect using .py file or the .exe file BUT move to new pc and crash
@@randomlife3506 yea from what i can tell it cant find the crt so I’m looking at trying to just import it or just give the path to it
how to secure proxy insted fo "Not Secure"
why theres show no internet connection
Hi thanks for the tutorial. I have a question, can you add a custom request header or User-Agent to the seleniumwire_options? If yes, how?
I think it should work since you can do it in selenium. It should be in the options argument. Check google for normal user agent in selenium, and it should probably work too. Maybe it’s in the extra argument options (chrome_options)
Invalid proxy server credentials supplied
hi what can i do if i have a list of proxies instead
Create an instance of selenium driver for each proxy so basically reopening and closing the window
hey I get Invalid server specification: anyone know why
Great and simple. Thanks a lot. 👍
sub i have a problem.. i got every time website not secure and send me to cloudflare capture
Did not try the solution yet, but will try it very soon. But I wanted to thank you for the video :)
great tutorial! Did you find some way to validate the certificate and make it a secure connection? Only seems to affect me while I'm using a proxy. If no proxy then still it says the same thing, but websites don't cause any trouble.
did you found an answer?
@@davidxyz5815 yes I did
@@avinashsah5456 can you please share the solution?
@@mustafa-bs4nl you are supposed to install the ca.cert in your machine. Refer to their docs at their official GitHub
@@avinashsah5456 Hello friend, I have the same problem. Do you can help me please?
When i run my code, in the address bar, appears NOT SECURE (red color) and the page to visiting has a https verified.
Please help me, I need resolve
thank you so much!
How do you set it up to TMP I been trying for the past 3 hours
can someone help out there or send video please
You don’t need to set it up to /tmp. You just need to put it somewhere and use that path in the code. « Setting it up » is just having the driver in a place
@@techpath3687 I’m still new to coding and paths are just playing too much with my head a quick little tutorial would help😭
It’s not really a coding concept, the path is just where you put the file. /home, /root etc. In windows it could be C:/, in users, on desktop etc. Try watching a video on opening text files in python, they should talk about paths probably
@@techpath3687 I’ve deleted most of paths to try locate my chromedriver location and to remove access to chromedriver at the same time but when I open simple project chrome stills opens and I cant locate where that driver is
Thans alot bro Hats off to you!!!!!!!!!!!!!!!!!!!!!
HI! I DO NOT UNDERSTAND THE FORMAT, PLEASE SHOW ME AN EXAMPLE
there is a github link in the description :)
thank you bro
Hello friend, congrats for your video, its amazing.
Friend, I´m following your video, and this is working.
But, when i run my code, in the address bar, appears NOT SECURE (red color) and the page to visiting has a https verified.
Do you can help me please.
@Tech Path help me please. I don't understand this behavior.
@Nelson Gomez I have the same problem. were you able to solve it?
Thank you so much bro.
Nice Glasses dude.
Thx bro
hey! 🙂Congrat for your videos, they help me a lot to progress. This might be a stupid question, but I would like to know how do we make our program know which technique to use between authenticating and without authentication? Sometimes I use proxies that need authentication and sometimes I don't.I would like to have one single program for both cases. Thanks you for all
Thanks! If you always whitelist your ip from the proxy provider, you’ll never need authentication. If that was your question
@@techpath3687 Sorry, I misspoke😂. I have a proxy.txt file and my proxies are mixed up. Some are with authentication and others don't. And I wanted to know how I could link your 2 videos on the proxies to have a single code (with and without authentication)
Well if your file has proxies that require authentication, then there must be username and password in the file. You could just import selenium and seleniumwire and use one or the other if the proxy has authentication credentials in the file
@@techpath3687 thanks you i found the solution with selenium wire like you said
Awesome
hello friend it's ok I'm Br but I want to develop a simple system for those who understand the subject but I'm a layman and I really want this idea that I have in practice but I need the help of someone who knows the area if interested in helping me I can pay for the service if be interested reply that I will send my contt
127.0.0.1:62258: ConnectionAbortedError(10053, 'An established connection was aborted by the software in your host machine', None, 10053, None) Does this error mean its aborted proxy connection and is instead using my local connection
Have you tried manually writing the proxy in the proxy field, without using the txt file? Does it work?
Thank you for this awesome tutorial but I have a question,
I keep getting this error log, can you help me with this:
seleniumwire.thirdparty.mitmproxy.exceptions.TcpDisconnect: [WinError 10053] An established connection was aborted by the software in your host machine
Thank you for all!
Why does it says Not secure