mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 01:50:31 +08:00
[DrTuber] Fix title extraction
This commit is contained in:
parent
fdfb32a0dd
commit
0a0de8fb2d
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user