few stuff

This commit is contained in:
igna 2021-09-04 05:52:06 -04:00 committed by GitHub
parent 045930cc60
commit e00f47160e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

13
main.py
View File

@ -1,13 +1,16 @@
import requests, threading import requests, threading, os
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): ')
sent = 0
def thread(): def thread():
global sent while True:
while True: sent = 0
requests.get(url) r = requests.get(url)
if r.status_code == 403:
print('Invalid URL')
else:
pass
sent += 1 sent += 1
print(f'Views sent: %s' % sent) print(f'Views sent: %s' % sent)