elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(headers, dict):
raise ValueError(f"Parameter headers[]='{type(headers)}' is not 'dict'")
elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(origin, str) and origin is not None:
raise ValueError(f"Parameter origin[]='{type(origin)}' is not 'str'")
elif software is None:
elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(path, str):
raise ValueError(f"path[]='{type(path)}' is not 'str'")
elif path == "":
elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(path, str):
raise ValueError(f"path[]='{type(path)}' is not 'str'")
elif path == "":
elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(blocklist, dict):
raise ValueError(f"Parameter blocklist[]='{type(blocklist)}' is not 'dict'")
elif domain == "":
raise ValueError("Parameter 'domain' is empty")
elif domain.endswith(".tld"):
- raise ValueException(f"domain='{domain}' is a fake domain, please don't crawl them!")
+ raise ValueError(f"domain='{domain}' is a fake domain, please don't crawl them!")
elif not isinstance(path, str):
raise ValueError(f"Parameter path[]='{type(path)}' is not 'str'")
elif path == "":