This commit is contained in:
richard 2020-04-07 23:54:43 -04:00
parent 84a5611939
commit b771248d23
2 changed files with 1 additions and 2 deletions

View File

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

View File

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