mirror of
https://github.com/uhIgnacio/github-views-botter.git
synced 2024-08-14 21:47:03 +00:00
commit
7301e2e236
1 changed files with 12 additions and 6 deletions
10
main.py
10
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): ')
|
||||
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue