mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +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]
|
||||
|
||||
stream_data = dict(src=[url], size=size, container='mp4', quality=stype['quality'])
|
||||
print(stream_data)
|
||||
self.streams[stype['id']] = stream_data
|
||||
|
||||
|
||||
|
@ -48,7 +48,7 @@ class YouGetTests(unittest.TestCase):
|
||||
)
|
||||
|
||||
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__':
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user