aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/drtuber.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-11-06 21:29:15 +0700
committerSergey M․ <dstftw@gmail.com>2016-11-06 21:29:15 +0700
commitf5c4b06f17ad8d2a17a3bdf84d8cb2f18b575b8e (patch)
tree4060b8269b8936f59759e8dc243e51dc39fdfd7b /youtube_dl/extractor/drtuber.py
parent519d8970496125bca8a7067d841e5c5e5263c26d (diff)
[drtuber] Fix title extraction
Diffstat (limited to 'youtube_dl/extractor/drtuber.py')
-rw-r--r--youtube_dl/extractor/drtuber.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py
index 8baad18f6..95ecef660 100644
--- 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')