Merge pull request #418 from mirusu400/master

This commit is contained in:
Joakim Hellsén 2025-10-15 04:47:06 +02:00 committed by GitHub
commit 4d4791955f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ def extract_domain(url: str) -> str: # noqa: PLR0911
return "YouTube"
# Special handling for Reddit feeds
if "reddit.com" in url or (".rss" in url and "r/" in url):
if "reddit.com" in url and ".rss" in url:
return "Reddit"
# Parse the URL and extract the domain