📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-06-23 16:03:00 +00:00
parent c4c6a41c21
commit 59e15f8999
557 changed files with 10501 additions and 3168 deletions
@@ -18,7 +18,9 @@ def extract_reddit_path(url: str) -> Optional[str]:
"""
try:
parsed = urlparse(url)
if "reddit.com" not in parsed.netloc:
if parsed.scheme != "https" or parsed.netloc.lower() not in {"reddit.com", "www.reddit.com"}:
return None
if not re.match(r"^/r/[^/]+/comments/[^/]+/", parsed.path):
return None
return parsed.path
except: