From eaeeef9c1d1bedb76fea953c332ef84d53bffe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 2 Dec 2022 05:21:10 +0800 Subject: update from upstream --- hypervideo_dl/extractor/meipai.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'hypervideo_dl/extractor/meipai.py') 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']*>([^<]+)', webpage, 'title') + title = self._generic_title('', webpage) formats = [] -- cgit v1.2.3