diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-16 04:09:10 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-16 04:09:10 +0100 |
commit | 5bfd430f81c885decfb3dc7b5ad8478eefbaaaf7 (patch) | |
tree | fc07260fb86a1f1d844718d48203a5bf9f323f2d /youtube_dl/extractor/drtuber.py | |
parent | 73fac4e9119bc53d49e646c38529f1b6d8de734d (diff) | |
parent | 8fb474fb17a64ff2aa9f6315ebbc99ae7938c4e1 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/extractor/drtuber.py')
-rw-r--r-- | youtube_dl/extractor/drtuber.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index ca274dff6..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'<source src="([^"]+)"', webpage, 'video URL') title = self._html_search_regex( - r'<title>([^<]+)\s*-\s*Free', webpage, 'title') + [r'class="hd_title" style="[^"]+">([^<]+)</h1>', r'<title>([^<]+) - \d+'], + webpage, 'title') thumbnail = self._html_search_regex( r'poster="([^"]+)"', |