diff options
author | Ole Ernst <olebowle@gmx.com> | 2014-10-22 14:24:53 +0200 |
---|---|---|
committer | Ole Ernst <olebowle@gmx.com> | 2014-10-22 14:24:53 +0200 |
commit | bfd91588f3fab0d5a14726810c186e5ec2fdd0f4 (patch) | |
tree | f4b156b357a49f8eef8faf62eaae303c37fe24e2 /youtube_dl/extractor/ard.py | |
parent | 3741302a109f28081a9db805a371c744f7bd2a2b (diff) |
[ard] make rss match more universal
Diffstat (limited to 'youtube_dl/extractor/ard.py')
-rw-r--r-- | youtube_dl/extractor/ard.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |