MCPcopy
hub / github.com/zer0yu/CyberSecurityRSS / is_http_url

Function is_http_url

scripts/add_feed_to_tiny.py:41–43  ·  view source on GitHub ↗
(url: str)

Source from the content-addressed store, hash-verified

39
40
41def is_http_url(url: str) -> bool:
42 parsed = urllib.parse.urlparse(url)
43 return parsed.scheme in {"http", "https"} and bool(parsed.netloc)
44
45
46def strip_namespace(tag: str) -> str:

Callers 2

prompt_for_feed_urlFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected