diff options
Diffstat (limited to 'hypervideo_dl/extractor/thisav.py')
-rw-r--r-- | hypervideo_dl/extractor/thisav.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hypervideo_dl/extractor/thisav.py b/hypervideo_dl/extractor/thisav.py index 4af286e..6bb00b3 100644 --- a/hypervideo_dl/extractor/thisav.py +++ b/hypervideo_dl/extractor/thisav.py @@ -37,9 +37,7 @@ class ThisAVIE(InfoExtractor): video_id = mobj.group('id') webpage = self._download_webpage(url, video_id) - title = remove_end(self._html_search_regex( - r'<title>([^<]+)</title>', webpage, 'title'), - ' - 視頻 - ThisAV.com-世界第一中文成人娛樂網站') + title = remove_end(self._html_extract_title(webpage), ' - 視頻 - ThisAV.com-世界第一中文成人娛樂網站') video_url = self._html_search_regex( r"addVariable\('file','([^']+)'\);", webpage, 'video url', default=None) if video_url: |