A feature-rich command-line audio/video downloader
[pornhd] Fix title extraction (Closes #7596)
Sergey M․1b38185361e0
diff --git a/youtube_dl/extractor/pornhd.py b/youtube_dl/extractor/pornhd.pyindex dbb2c3bd95..57c78ba52a 100644--- a/youtube_dl/extractor/pornhd.py+++ b/youtube_dl/extractor/pornhd.py@@ -36,7 +36,8 @@ class PornHdIE(InfoExtractor):webpage = self._download_webpage(url, display_id or video_id)title = self._html_search_regex(- r'<title>(.+) porn HD.+?</title>', webpage, 'title')+ [r'<span[^>]+class=["\']video-name["\'][^>]*>([^<]+)',+ r'<title>(.+?) - .*?[Pp]ornHD.*?</title>'], webpage, 'title')description = self._html_search_regex(r'<div class="description">([^<]+)</div>', webpage, 'description', fatal=False)view_count = int_or_none(self._html_search_regex(