Update xinpianchang.py

This commit is contained in:
Richard Xue 2020-04-08 00:08:44 -04:00 committed by GitHub
parent 4e0ca6f3e4
commit 018cfde604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)