2013-02-13 01:04:39 +04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
2017-12-07 11:35:56 +03:00
|
|
|
from you_get.extractors import (
|
|
|
|
imgur,
|
|
|
|
magisto,
|
|
|
|
youtube,
|
2019-11-20 18:07:23 +03:00
|
|
|
missevan,
|
2020-03-28 13:15:22 +03:00
|
|
|
acfun,
|
2020-07-11 15:01:34 +03:00
|
|
|
bilibili,
|
2020-07-26 16:06:03 +03:00
|
|
|
soundcloud,
|
|
|
|
tiktok
|
2017-12-07 11:35:56 +03:00
|
|
|
)
|
2013-03-01 01:02:12 +04:00
|
|
|
|
2014-02-15 00:09:57 +04:00
|
|
|
|
2017-06-19 09:16:50 +03:00
|
|
|
class YouGetTests(unittest.TestCase):
|
2020-03-28 13:15:22 +03:00
|
|
|
def test_bilibil(self):
|
2020-11-07 13:07:39 +03:00
|
|
|
bilibili.download_playlist(
|
|
|
|
"https://www.bilibili.com/video/av755179663", playlist=True, info_only=False, output_dir="./tmp", merge=True
|
2020-07-11 15:01:34 +03:00
|
|
|
)
|
|
|
|
|
2017-06-19 09:16:50 +03:00
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|