youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit f5c4b06f17ad8d2a17a3bdf84d8cb2f18b575b8e
parent 519d8970496125bca8a7067d841e5c5e5263c26d
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  6 Nov 2016 21:29:15 +0700

[drtuber] Fix title extraction

Diffstat:
Myoutube_dl/extractor/drtuber.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py @@ -42,7 +42,7 @@ class DrTuberIE(InfoExtractor): r'<source src="([^"]+)"', webpage, 'video URL') title = self._html_search_regex( - (r'class="title_watch"[^>]*><p>([^<]+)<', + (r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<', r'<p[^>]+class="title_substrate">([^<]+)</p>', r'<title>([^<]+) - \d+'), webpage, 'title')