projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3741302
)
[ard] make rss match more universal
author
Ole Ernst
<olebowle@gmx.com>
Wed, 22 Oct 2014 12:24:53 +0000
(14:24 +0200)
committer
Ole Ernst
<olebowle@gmx.com>
Wed, 22 Oct 2014 12:24:53 +0000
(14:24 +0200)
youtube_dl/extractor/ard.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ard.py
b/youtube_dl/extractor/ard.py
index cd9c1d9be9de1e4257c52aadbf8bb4004b3c03fb..630b1faa999617c79d160a636052e2acd6d5debd 100644
(file)
--- 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)