From bfd91588f3fab0d5a14726810c186e5ec2fdd0f4 Mon Sep 17 00:00:00 2001 From: Ole Ernst Date: Wed, 22 Oct 2014 14:24:53 +0200 Subject: [PATCH] [ard] make rss match more universal --- youtube_dl/extractor/ard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py index cd9c1d9be..630b1faa9 100644 --- a/youtube_dl/extractor/ard.py +++ b/youtube_dl/extractor/ard.py @@ -56,7 +56,7 @@ class ARDMediathekIE(InfoExtractor): if '>Der gewünschte Beitrag ist nicht mehr verfügbar.<' in webpage: raise ExtractorError('Video %s is no longer available' % video_id, expected=True) - if re.search(r'rss=true', url): + if re.search(r'[\?&]rss($|[=&])', url): doc = parse_xml(webpage) if doc.tag == 'rss': return GenericIE()._extract_rss(url, video_id, doc) -- 2.22.2