import undetected_chromedriver as uc
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import random
import string
def generate_email():
username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=8))
domain = "@gmail.com"
email = username + domain
with open("email_list.txt", "a") as file:
file.write(email + "\n")
return email
if _name_ == '_main_':
options = webdriver.ChromeOptions()
options.add_argument("--incognito")
browser = uc.Chrome(options=options)
browser.get("https://www.pixiv.net/")Traceback (most recent call last):
File "c:UsersMetehanDocumentspython.pypixivbot.py", line 1, in <module>
import undetected_chromedriver as uc
File "C:UsersMetehanAppDataLocalProgramsPythonPython311 Libsite-packagesundetected_chromedriver_init_.py", line 33, in <module>
import selenium.webdriver.chrome.service
ModuleNotFoundError: No module named 'selenium'