diff --git a/main.py b/main.py index cdf5e40..b3c4c6e 100644 --- a/main.py +++ b/main.py @@ -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) \ No newline at end of file +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()