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)