diff --git a/discord_rss_bot/feeds.py b/discord_rss_bot/feeds.py index 8e9212c..ff38a6c 100644 --- a/discord_rss_bot/feeds.py +++ b/discord_rss_bot/feeds.py @@ -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