Accept episodes if RSS link URL has a custom_downloader

This commit is contained in:
Teemu Ikonen 2021-01-06 23:25:51 +02:00
parent b446600363
commit 11407b0c96
1 changed files with 4 additions and 0 deletions

View File

@ -327,6 +327,10 @@ class PodcastEpisode(PodcastModelObject):
if file_type is not None:
return episode
# Check if any extensions (e.g. youtube-dl) support the link
if registry.custom_downloader.resolve(None, None, episode) is not None:
return episode
return None
def __init__(self, channel):