mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
Update xinpianchang.py
This commit is contained in:
parent
4e0ca6f3e4
commit
018cfde604
@ -7,6 +7,7 @@ from ..common import get_content, playlist_not_supported
|
|||||||
|
|
||||||
|
|
||||||
class Xinpianchang(VideoExtractor):
|
class Xinpianchang(VideoExtractor):
|
||||||
|
name = 'xinpianchang'
|
||||||
stream_types = [
|
stream_types = [
|
||||||
{'id': '4K', 'quality': '超清 4K', 'video_profile': 'mp4-4K'},
|
{'id': '4K', 'quality': '超清 4K', 'video_profile': 'mp4-4K'},
|
||||||
{'id': '2K', 'quality': '超清 2K', 'video_profile': 'mp4-2K'},
|
{'id': '2K', 'quality': '超清 2K', 'video_profile': 'mp4-2K'},
|
||||||
@ -16,8 +17,6 @@ class Xinpianchang(VideoExtractor):
|
|||||||
{'id': '360', 'quality': '流畅 360P', 'video_profile': 'mp4-LD'}
|
{'id': '360', 'quality': '流畅 360P', 'video_profile': 'mp4-LD'}
|
||||||
]
|
]
|
||||||
|
|
||||||
name = 'xinpianchang'
|
|
||||||
|
|
||||||
def prepare(self, **kwargs):
|
def prepare(self, **kwargs):
|
||||||
# find key
|
# find key
|
||||||
page_content = get_content(self.url)
|
page_content = get_content(self.url)
|
||||||
|
Loading…
Reference in New Issue
Block a user