aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/sunporno.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/sunporno.py')
-rw-r--r--hypervideo_dl/extractor/sunporno.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/sunporno.py b/hypervideo_dl/extractor/sunporno.py
index 6805116..59b77bf 100644
--- a/hypervideo_dl/extractor/sunporno.py
+++ b/hypervideo_dl/extractor/sunporno.py
@@ -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(