uhhh, idk

This commit is contained in:
igna 2021-08-29 14:27:06 +00:00
parent 7301e2e236
commit fd2cec914b
1 changed files with 2 additions and 2 deletions

View File

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