Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions yt_dlp/utils/_utils.py
Expand Up @@ -5118,9 +5118,9 @@ def format_field(obj, field=None, template='%s', ignore=NO_DEFAULT, default='',


def clean_podcast_url(url):
url = re.sub(r'''(?x)
return re.sub(r'''(?x)
(?:
(?:
(\w+://)(?:
chtbl\.com/track|
media\.blubrry\.com| # https://create.blubrry.com/resources/podcast-media-download-statistics/getting-started/
play\.podtrac\.com
Expand All @@ -5132,7 +5132,6 @@ def clean_podcast_url(url):
st\.fm # https://podsights.com/docs/
)/e
)/''', '', url)
return re.sub(r'^\w+://(\w+://)', r'\1', url)


_HEX_TABLE = '0123456789abcdef'
Expand Down

0 comments on commit 436c63c

Please sign in to comment.