MsRewards/modules/imports.py

35 lines
1.3 KiB
Python
Raw Normal View History

2023-04-15 11:03:47 +02:00
import argparse
import asyncio
2023-04-15 11:03:47 +02:00
import configparser
import pickle
from csv import reader
from datetime import datetime, timedelta
from os import path, sys, system
from random import choice, randint, shuffle, uniform
from re import findall, search
from sys import platform
2023-04-15 11:03:47 +02:00
from time import sleep, time
from discord import Colour, Embed, File, RequestsWebhookAdapter, Webhook
from pyotp import TOTP
from pyvirtualdisplay import Display
from pyvirtualdisplay.smartdisplay import SmartDisplay
from requests import get
from selenium import webdriver
from selenium.common import exceptions
2023-04-15 11:03:47 +02:00
from selenium.common.exceptions import (ElementClickInterceptedException,
NoSuchElementException,
StaleElementReferenceException,
TimeoutException, WebDriverException)
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.support import expected_conditions as EC
2023-04-15 11:03:47 +02:00
from selenium.webdriver.support.ui import Select, WebDriverWait
2023-04-25 21:56:29 +02:00
from ast import literal_eval
2023-04-15 11:03:47 +02:00
try:
import enquiries
except:
2023-04-25 21:56:29 +02:00
system("") # enable colors in windows cmd
2023-06-17 16:52:47 +02:00
import undetected_chromedriver as uc