aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/iwara.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/iwara.py')
-rw-r--r--hypervideo_dl/extractor/iwara.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/iwara.py b/hypervideo_dl/extractor/iwara.py
index 254d986..c0e01e3 100644
--- a/hypervideo_dl/extractor/iwara.py
+++ b/hypervideo_dl/extractor/iwara.py
@@ -76,8 +76,7 @@ class IwaraIE(InfoExtractor):
'age_limit': age_limit,
}
- title = remove_end(self._html_search_regex(
- r'<title>([^<]+)</title>', webpage, 'title'), ' | Iwara')
+ title = remove_end(self._html_extract_title(webpage), ' | Iwara')
thumbnail = self._html_search_regex(
r'poster=[\'"]([^\'"]+)', webpage, 'thumbnail', default=None)