mirror of
https://github.com/uhIgnacio/github-views-botter.git
synced 2024-08-14 21:47:03 +00:00
uhhh, idk
This commit is contained in:
parent
7301e2e236
commit
fd2cec914b
1 changed files with 2 additions and 2 deletions
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 a new issue