ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.46k stars 1.12k forks source link

help #698

Open ChimkinNuggets opened 2 years ago

ChimkinNuggets commented 2 years ago

im doing pip install undetected-chromedriver to a python program and I have "import undetected_chromedriver as uc" but its saying there's no module called undetected-chromedriver so how do I fix this

ikapeykin commented 2 years ago

Use python venv instead, activate environment and install UC. Share more details how do you use it

ChimkinNuggets commented 2 years ago

im trying to use it for this https://github.com/NightfallGT/Discord-Account-Generator

ChimkinNuggets commented 2 years ago

i fixed it but now it says uc is not a attribute and on the second line of code it says uc.install()

sebdelsol commented 2 years ago

This project is no longer maintained, it expects a way older undetected-chromedriver and is probably detected now. If you feel adventurous you can try to use the compatibility mode by importing uc here, like this :

# import undetected_chromedriver as uc
import undetected_chromedriver._compat as uc
luan1412167 commented 2 years ago

This project is no longer maintained, it expects a way older undetected-chromedriver and is probably detected now. If you feel adventurous you can try to use the compatibility mode by importing uc here, like this :

# import undetected_chromedriver as uc
import undetected_chromedriver._compat as uc

Is this project no longer maintained? So what can you suggest to use selenium that avoid antibot? Thanks in advance.

sebdelsol commented 2 years ago

No I mean the project you want to use with undetected-chromedriver is no longer maintained.

luan1412167 commented 2 years ago

No I mean the project you want to use with undetected-chromedriver is no longer maintained.

got it, thank you for clarifying

sebdelsol commented 2 years ago

I gave you a potential workaround though (but that won't be as good detection-wise).

EDIT : please close this issue, it has nothing to do with UC.