From: Sergey M․ Date: Sat, 14 Feb 2015 12:50:13 +0000 (+0600) Subject: [drtuber] Add one more title regex X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=76d1466b08d4e3cebc40a7fb7dae957c3b34b1eb;p=youtube-dl [drtuber] Add one more title regex --- diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index 2f06e64cc..37c5c181f 100644 --- a/youtube_dl/extractor/drtuber.py +++ b/youtube_dl/extractor/drtuber.py @@ -15,7 +15,7 @@ class DrTuberIE(InfoExtractor): 'id': '1740434', 'display_id': 'hot-perky-blonde-naked-golf', 'ext': 'mp4', - 'title': 'Hot Perky Blonde Naked Golf', + 'title': 'hot perky blonde naked golf', 'like_count': int, 'dislike_count': int, 'comment_count': int, @@ -36,7 +36,8 @@ class DrTuberIE(InfoExtractor): r'([^<]+) - \d+', webpage, 'title') + [r'class="hd_title" style="[^"]+">([^<]+)', r'([^<]+) - \d+'], + webpage, 'title') thumbnail = self._html_search_regex( r'poster="([^"]+)"',