diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-04-01 23:01:55 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-04-01 23:01:55 +0600 |
commit | 75d572e9fb8d3e26e4ab45e65cd5e23c6b1c6915 (patch) | |
tree | 58e8930cb40d168f3111169a7e4cde323aa24d41 /youtube_dl | |
parent | 791d6aaeccd2efae2c4c5fa1e72010be85eb89b8 (diff) |
[screencast] Improve title regexes (Closes #9025)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/screencast.py | 6 |
1 files changed, 3 insertions, 3 deletions
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'<b>Title:</b> ([^<]*)</div>', - r'class="tabSeperator">></span><span class="tabText">(.*?)<', - r'<title>([^<]*)</title>'], + [r'<b>Title:</b> ([^<]+)</div>', + r'class="tabSeperator">></span><span class="tabText">(.+?)<', + r'<title>([^<]+)</title>'], webpage, 'title') thumbnail = self._og_search_thumbnail(webpage) description = self._og_search_description(webpage, default=None) |