mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
fix
This commit is contained in:
parent
84a5611939
commit
b771248d23
@ -38,7 +38,6 @@ class Xinpianchang(VideoExtractor):
|
|||||||
stype = [st for st in self.__class__.stream_types if st['video_profile'] == profile][0]
|
stype = [st for st in self.__class__.stream_types if st['video_profile'] == profile][0]
|
||||||
|
|
||||||
stream_data = dict(src=[url], size=size, container='mp4', quality=stype['quality'])
|
stream_data = dict(src=[url], size=size, container='mp4', quality=stype['quality'])
|
||||||
print(stream_data)
|
|
||||||
self.streams[stype['id']] = stream_data
|
self.streams[stype['id']] = stream_data
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ class YouGetTests(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def test_xinpianchang(self):
|
def test_xinpianchang(self):
|
||||||
imgur.download('https://www.xinpianchang.com/a10673220', info_only=True)
|
xinpianchang.download('https://www.xinpianchang.com/a10673220', info_only=True)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
Loading…
Reference in New Issue
Block a user