I think the script is great however maybe add a function where it checks your connection before hand something like this would work
importrequestsdefchecker():
try:
r=requests.get("https://www.google.com")
ifr.status_code=='200':
pass:
etcetcto 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