1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-29 23:59:48 +08:00

[DrTuber] Fix title extraction

This commit is contained in:
Parmjit Virk
2018-04-06 05:10:31 -05:00
Unverified
parent fdfb32a0dd
commit 0a0de8fb2d
+2 -1
View File
@@ -68,7 +68,8 @@ class DrTuberIE(InfoExtractor):
title = self._html_search_regex(
(r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
r'<p[^>]+class="title_substrate">([^<]+)</p>',
r'<title>([^<]+) - \d+'),
r'<title>([^<]+) - \d+',
r'<h1[^>]+class="title">([^<]+)</h1>'),
webpage, 'title')
thumbnail = self._html_search_regex(