uhhh, idk
This commit is contained in:
parent
7301e2e236
commit
fd2cec914b
4
main.py
4
main.py
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue