1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-29 02:49:53 +08:00

Update drtuber.py

This commit is contained in:
Sergey M
2018-04-07 21:38:46 +07:00
committed by GitHub
Unverified
parent 0a0de8fb2d
commit 20fa8c5866
+4 -3
View File
@@ -66,10 +66,11 @@ class DrTuberIE(InfoExtractor):
self._sort_formats(formats)
title = self._html_search_regex(
(r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
(r'<h1[^>]+class=["\']title[^>]+>([^<]+)',
r'<title>([^<]+)\s*@\s+DrTuber',
r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
r'<p[^>]+class="title_substrate">([^<]+)</p>',
r'<title>([^<]+) - \d+',
r'<h1[^>]+class="title">([^<]+)</h1>'),
r'<title>([^<]+) - \d+'),
webpage, 'title')
thumbnail = self._html_search_regex(