diprajpatra / selenium-stealth

Trying to make python selenium more stealthy.
MIT License
607 stars 88 forks source link

Not working #19

Closed D4RKH0R1Z0N closed 2 years ago

D4RKH0R1Z0N commented 2 years ago

I have installed the module but when I run my python script with the module it say:

Traceback (most recent call last):
  File "C:\Users\%username%\Desktop\Data\BOT\webdriver.py", line 2, in <module>
    import selenium_stealth
ModuleNotFoundError: No module named 'selenium_stealth'

I have it installed on my python version :

C:\Users\%username%\Desktop\Data\BOT>python -m pip install selenium_stealth
Requirement already satisfied: selenium_stealth in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (1.0.6)
Requirement already satisfied: selenium in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (from selenium_stealth) (3.141.0)
Requirement already satisfied: urllib3 in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (from selenium->selenium_stealth) (1.26.3)

C:\Users\%username%\Desktop\Data\BOT>

I really need this module because it says it can login using google and I am working a project and it needs google login and I only have time till 30/08/2021

kedar2323 commented 2 years ago

did you find the solution?

holisticishackorman commented 1 year ago

Did you find a solution to this? I'm getting the same error.

D4RKH0R1Z0N commented 1 year ago

I think I changed the headers, or just the user-agent, I think it fixed the issue... It's been a long time, I don't really remember what happen...