From 0a0de8fb2deb80bc82f2005cdc2cb5407a3e9e2a Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Fri, 6 Apr 2018 05:10:31 -0500 Subject: [PATCH] [DrTuber] Fix title extraction --- youtube_dl/extractor/drtuber.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index c88b3126b..509f5a7c6 100644 --- a/youtube_dl/extractor/drtuber.py +++ b/youtube_dl/extractor/drtuber.py @@ -68,7 +68,8 @@ class DrTuberIE(InfoExtractor): title = self._html_search_regex( (r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<', r']+class="title_substrate">([^<]+)

', - r'([^<]+) - \d+'), + r'<title>([^<]+) - \d+', + r'<h1[^>]+class="title">([^<]+)</h1>'), webpage, 'title') thumbnail = self._html_search_regex(