Update main.py

This commit is contained in:
xeny 2021-08-29 15:12:44 +01:00 committed by GitHub
parent 1a30641108
commit 3455f46dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 6 deletions

18
main.py
View File

@ -1,9 +1,15 @@
import requests
import requests, threading
url = input('raw link: ')
sent = 0
amount = input('enter the amount of threads (go for 300): ')
while True:
requests.get(url)
sent += 1
print(f'Views sent: %s' % sent)
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()