-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
68 lines (51 loc) · 1.45 KB
/
main.py
File metadata and controls
68 lines (51 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait as wait
import threading
from multiprocessing import Process
from config import *
import time
import login
import checkout
import bagout
import scrap
import release_catch
def load_menu():
menu_list = "\nAdidas Miner Bot v0.2\n" +\
"\n1. Login" +\
"\n2. Bagout" +\
"\n3. Checkout" +\
"\n4. Scrap" +\
"\n0. Exit\n"
while True:
sel = input(menu_list)
if sel == "1":
login.site_login()
elif sel == "2":
bagout.bagout()
elif sel == "3":
checkout.checkout_login()
elif sel == "4":
scrap.scrap()
elif sel == "5":
automation_1()
elif sel == "j":
try:
import webbrowser
webbrowser.open('https://github.com/jesvijonathan')
except:
pass
elif sel == "0":
exit(0)
def automation_1():
threading.Thread(target=release_catch.site_login(), args=(), daemon=True).start()
print("\nScript Execution 1.0")
def __main__():
if menu == 0:
load_menu()
elif menu == 1:
automation_1()
if __name__ == '__main__':
__main__()