diff options
Diffstat (limited to 'hypervideo_dl/extractor/vshare.py')
-rw-r--r-- | hypervideo_dl/extractor/vshare.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/vshare.py b/hypervideo_dl/extractor/vshare.py index c631ac1..b4874ac 100644 --- a/hypervideo_dl/extractor/vshare.py +++ b/hypervideo_dl/extractor/vshare.py @@ -50,8 +50,7 @@ class VShareIE(InfoExtractor): 'https://vshare.io/v/%s/width-650/height-430/1' % video_id, video_id, headers={'Referer': url}) - title = self._html_search_regex( - r'<title>([^<]+)</title>', webpage, 'title') + title = self._html_extract_title(webpage) title = title.split(' - ')[0] error = self._html_search_regex( |