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

Function is_http_url

scripts/opml_sync.py:124–126  ·  view source on GitHub ↗
(url: str)

Source from the content-addressed store, hash-verified

122
123
124def is_http_url(url: str) -> bool:
125 parsed = urllib.parse.urlparse(url)
126 return parsed.scheme in {"http", "https"} and bool(parsed.netloc)
127
128
129def is_rss_outline(element: ET.Element) -> bool:

Callers 1

__call__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected