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

Function prompt_for_feed_url

scripts/add_feed_to_tiny.py:432–437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

430
431
432def prompt_for_feed_url() -> str:
433 while True:
434 raw = input("Enter RSS/Atom feed URL: ").strip()
435 if is_http_url(raw):
436 return raw
437 print("Please enter a valid http/https RSS URL.")
438
439
440def detect_repo_root(start: Path) -> Optional[Path]:

Callers 1

mainFunction · 0.85

Calls 1

is_http_urlFunction · 0.70

Tested by

no test coverage detected