NightfallGT / Discord-Account-Generator

Automate creating discord accounts; No captcha API key required
372 stars 181 forks source link

FIX FOR "AttributeError: module 'undetected_chromedriver' has no attribute 'install'" #112

Open etxnight opened 1 year ago

etxnight commented 1 year ago

new script:

import os import time import requests import random import string import sys import threading import datetime import re from bs4 import BeautifulSoup from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.support.ui import WebDriverWait from selenium.common.exceptions import WebDriverException from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys from colorama import Fore, Style, init from bs4 import BeautifulSoup as soup from sys import stdout from src import UI from src import GmailnatorRead, GmailnatorGet, dfilter_email, pfilter_email, find_email_type

chrome_options = webdriver.ChromeOptions() chrome_options.add_argument("--headless")

driver = webdriver.Chrome(options=chrome_options)

init(convert=True)

lock = threading.Lock()

rest the same

Ryan4794 commented 1 year ago

pip install undetected-chromedriver==2.0.0