aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/meipai.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/meipai.py')
-rw-r--r--hypervideo_dl/extractor/meipai.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/hypervideo_dl/extractor/meipai.py b/hypervideo_dl/extractor/meipai.py
index 2445b8b..1a6f3cd 100644
--- a/hypervideo_dl/extractor/meipai.py
+++ b/hypervideo_dl/extractor/meipai.py
@@ -1,6 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
from .common import InfoExtractor
from ..utils import (
int_or_none,
@@ -51,9 +48,7 @@ class MeipaiIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
- title = self._og_search_title(
- webpage, default=None) or self._html_search_regex(
- r'<title[^>]*>([^<]+)</title>', webpage, 'title')
+ title = self._generic_title('', webpage)
formats = []