MCPcopy Create free account
hub / github.com/LCBOWER33/StegoScan / is_valid_url

Function is_valid_url

StegoScan.py:358–361  ·  view source on GitHub ↗

Check if a URL is valid.

(url)

Source from the content-addressed store, hash-verified

356
357
358def is_valid_url(url):
359 """Check if a URL is valid."""
360 parsed = urlparse(url)
361 return bool(parsed.scheme and parsed.netloc)
362
363
364def download_file(url, output_dir):

Callers 3

download_fileFunction · 0.85
get_file_linksFunction · 0.85
download_from_sourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected