Merge pull request #418 from mirusu400/master
This commit is contained in:
commit
4d4791955f
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def extract_domain(url: str) -> str: # noqa: PLR0911
|
||||||
return "YouTube"
|
return "YouTube"
|
||||||
|
|
||||||
# Special handling for Reddit feeds
|
# 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"
|
return "Reddit"
|
||||||
|
|
||||||
# Parse the URL and extract the domain
|
# Parse the URL and extract the domain
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue