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

Function is_rss_outline

scripts/opml_sync.py:129–134  ·  view source on GitHub ↗
(element: ET.Element)

Source from the content-addressed store, hash-verified

127
128
129def is_rss_outline(element: ET.Element) -> bool:
130 return (
131 element.tag == "outline"
132 and element.attrib.get("type") == "rss"
133 and "xmlUrl" in element.attrib
134 )
135
136
137def get_body(tree: ET.ElementTree, path: Path) -> ET.Element:

Callers 4

iter_rss_nodesFunction · 0.70
visitFunction · 0.70
top_level_categoriesFunction · 0.70
collect_tiny_entriesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected