-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
33 lines (29 loc) · 780 Bytes
/
main.py
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
import requests
from os import system
import threading
choice = input("[1] profile-counter.glitch.me\n[2] gpvc.arturio.dev\n> ")
system("cls")
username = input("username\n> ")
system("cls")
amount = int(input("amount\n> "))
counter = 0
def profile():
global username
r = requests.get(f"https://profile-counter.glitch.me/{username}/count.svg")
def gpvc():
global username
r = requests.get(f"https://gpvc.arturio.dev/{username}")
if choice == "1":
for i in range(amount, 0, -1):
thread = threading.Thread(target=profile)
thread.start()
counter +=1
system("cls")
print(f"{counter}/{amount}")
elif choice == "2":
for i in range(amount, 0, -1):
thread = threading.Thread(target=gpvc)
thread.start()
counter +=1
system("cls")
print(f"{counter}/{amount}")