aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/drtuber.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-16 04:09:10 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-16 04:09:10 +0100
commit5bfd430f81c885decfb3dc7b5ad8478eefbaaaf7 (patch)
treefc07260fb86a1f1d844718d48203a5bf9f323f2d /youtube_dl/extractor/drtuber.py
parent73fac4e9119bc53d49e646c38529f1b6d8de734d (diff)
parent8fb474fb17a64ff2aa9f6315ebbc99ae7938c4e1 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'youtube_dl/extractor/drtuber.py')
-rw-r--r--youtube_dl/extractor/drtuber.py5
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="([^"]+)"',