I think the script is great however maybe add a function where it checks your connection before hand something like this would work
import requests
def checker():
try:
r = requests.get("https://www.google.com")
if r.status_code == '200':
pass:
etc etc
to where after that it wold do something if it returns a certian code, however i do think this is a decent tool just could use ALOT of changes
I think the script is great however maybe add a function where it checks your connection before hand something like this would work
to where after that it wold do something if it returns a certian code, however i do think this is a decent tool just could use ALOT of changes