From 018cfde6048707a8a642493a3dc0e934de2f267e Mon Sep 17 00:00:00 2001 From: Richard Xue Date: Wed, 8 Apr 2020 00:08:44 -0400 Subject: [PATCH] Update xinpianchang.py --- src/you_get/extractors/xinpianchang.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/you_get/extractors/xinpianchang.py b/src/you_get/extractors/xinpianchang.py index 48830d97..fac3d01f 100644 --- a/src/you_get/extractors/xinpianchang.py +++ b/src/you_get/extractors/xinpianchang.py @@ -7,6 +7,7 @@ from ..common import get_content, playlist_not_supported class Xinpianchang(VideoExtractor): + name = 'xinpianchang' stream_types = [ {'id': '4K', 'quality': '超清 4K', 'video_profile': 'mp4-4K'}, {'id': '2K', 'quality': '超清 2K', 'video_profile': 'mp4-2K'}, @@ -16,8 +17,6 @@ class Xinpianchang(VideoExtractor): {'id': '360', 'quality': '流畅 360P', 'video_profile': 'mp4-LD'} ] - name = 'xinpianchang' - def prepare(self, **kwargs): # find key page_content = get_content(self.url)