github-views-botter/main.py
2021-08-31 05:50:30 -04:00

16 lines
333 B
Python

import requests, threading
url = input('raw link: ')
amount = input('enter the amount of threads (go for 300): ')
sent = 0
def thread():
global sent
while True:
requests.get(url)
sent += 1
print(f'Views sent: %s' % sent)
for _ in range(int(amount)):
t = threading.Thread(target=thread)
t.start()