mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-23 00:10:35 +01:00
[cleanup] Use _html_extract_title
This commit is contained in:
@@ -36,8 +36,7 @@ class SunPornoIE(InfoExtractor):
|
||||
webpage = self._download_webpage(
|
||||
'http://www.sunporno.com/videos/%s' % video_id, video_id)
|
||||
|
||||
title = self._html_search_regex(
|
||||
r'<title>([^<]+)</title>', webpage, 'title')
|
||||
title = self._html_extract_title(webpage)
|
||||
description = self._html_search_meta(
|
||||
'description', webpage, 'description')
|
||||
thumbnail = self._html_search_regex(
|
||||
|
||||
Reference in New Issue
Block a user