raise ValueError(f"Parameter url[]='{type(url)}' is not of type 'str'")
elif url == "":
raise ValueError("Parameter 'url' is empty")
+ elif not validators.url(url):
+ raise ValueError(f"Parameter url='{url}' is not a valid URL")
elif not isinstance(timeout, tuple):
raise ValueError(f"timeout[]='{type(timeout)}' is not of type 'tuple'")