commit: 85748629912aff950f8945b273e9809fc8991cfe
parent 2de957c7e10763dbed5729254e045c06c30562d1
Author: Philipp Hagemeister <phihag@phihag.de>
Date: Fri, 27 Sep 2013 06:25:04 +0200
Merge remote-tracking branch 'rzhxeo/RTL_T'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/rtlnow.py b/youtube_dl/extractor/rtlnow.py
@@ -92,7 +92,7 @@ class RTLnowIE(InfoExtractor):
msg = clean_html(note_m.group(1))
raise ExtractorError(msg)
- video_title = self._html_search_regex(r'<title>(?P<title>[^<]+)</title>',
+ video_title = self._html_search_regex(r'<title>(?P<title>[^<]+?)( \| [^<]*)?</title>',
webpage, u'title')
playerdata_url = self._html_search_regex(r'\'playerdata\': \'(?P<playerdata_url>[^\']+)\'',
webpage, u'playerdata_url')