From: Sergey M․ Date: Thu, 11 Aug 2016 16:47:52 +0000 (+0700) Subject: [drtuber] Improve title extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=367976d49fba48ea44fc5bf622adcc989896f29a;p=youtube-dl [drtuber] Improve title extraction --- diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index 4e5557703..e8870c460 100644 --- a/youtube_dl/extractor/drtuber.py +++ b/youtube_dl/extractor/drtuber.py @@ -38,7 +38,9 @@ class DrTuberIE(InfoExtractor): r']+class="title_substrate">([^<]+)

', r'([^<]+) - \d+'], + (r'class="title_watch"[^>]*><p>([^<]+)<', + r'<p[^>]+class="title_substrate">([^<]+)</p>', + r'<title>([^<]+) - \d+'), webpage, 'title') thumbnail = self._html_search_regex(