github-views-botter/main.py

16 lines
317 B
Python
Raw Normal View History

2021-08-29 14:12:44 +00:00
import requests, threading
2021-08-29 13:58:32 +00:00
url = input('raw link: ')
2021-08-29 14:12:44 +00:00
amount = input('enter the amount of threads (go for 300): ')
2021-08-29 13:58:32 +00:00
2021-08-29 14:12:44 +00:00
def trol():
sent = 0
while True:
requests.get(url)
sent += 1
print(f'Views sent: %s' % sent)
for _ in range(int(amount)):
t = threading.Thread(target=trol)
t.start()