aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorDave Loyall <dave@the-good-guys.net>2020-05-19 14:11:05 -0500
committerGitHub <noreply@github.com>2020-05-20 02:11:05 +0700
commitbf097a5077036d25e5c2ae2ea2d3b8c55bfdc83c (patch)
tree6d84e121549e1b656dc9d5d28e452b35ea93d90f /youtube_dl
parent52c50a10af5de16165621f8929b64dc726774276 (diff)
[redtube] Improve title extraction (#25208)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/redtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/redtube.py b/youtube_dl/extractor/redtube.py
index b1bde1e81..deb3ad52c 100644
--- a/youtube_dl/extractor/redtube.py
+++ b/youtube_dl/extractor/redtube.py
@@ -57,7 +57,7 @@ class RedTubeIE(InfoExtractor):
if not info.get('title'):
info['title'] = self._html_search_regex(
- (r'<h(\d)[^>]+class="(?:video_title_text|videoTitle)[^"]*">(?P<title>(?:(?!\1).)+)</h\1>',
+ (r'<h(\d)[^>]+class="(?:video_title_text|videoTitle|video_title)[^"]*">(?P<title>(?:(?!\1).)+)</h\1>',
r'(?:videoTitle|title)\s*:\s*(["\'])(?P<title>(?:(?!\1).)+)\1',),
webpage, 'title', group='title',
default=None) or self._og_search_title(webpage)