From: Sergey M․ Date: Fri, 1 Apr 2016 17:01:55 +0000 (+0600) Subject: [screencast] Improve title regexes (Closes #9025) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=75d572e9fb8d3e26e4ab45e65cd5e23c6b1c6915;p=youtube-dl [screencast] Improve title regexes (Closes #9025) --- diff --git a/youtube_dl/extractor/screencast.py b/youtube_dl/extractor/screencast.py index 32f31fdd7..356631700 100644 --- a/youtube_dl/extractor/screencast.py +++ b/youtube_dl/extractor/screencast.py @@ -96,9 +96,9 @@ class ScreencastIE(InfoExtractor): title = self._og_search_title(webpage, default=None) if title is None: title = self._html_search_regex( - [r'Title: ([^<]*)', - r'class="tabSeperator">>(.*?)<', - r'([^<]*)'], + [r'Title: ([^<]+)', + r'class="tabSeperator">>(.+?)<', + r'([^<]+)'], webpage, 'title') thumbnail = self._og_search_thumbnail(webpage) description = self._og_search_description(webpage, default=None)