From 934d6b6fd3d5db0403cbfbbd007884213e261bf7 Mon Sep 17 00:00:00 2001 From: liqi001 <724226901@qq.com> Date: Fri, 26 Mar 2021 18:08:49 +0800 Subject: [PATCH] no message --- tests/test.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/tests/test.py b/tests/test.py index 0f7595b3..dba89b72 100644 --- a/tests/test.py +++ b/tests/test.py @@ -10,7 +10,8 @@ from you_get.extractors import ( acfun, bilibili, soundcloud, - tiktok + tiktok, + haokan ) @@ -40,13 +41,13 @@ class YouGetTests(unittest.TestCase): def test_acfun(self): acfun.download('https://www.acfun.cn/v/ac11701912', info_only=True) - def test_bilibili(self): - bilibili.download( - "https://www.bilibili.com/watchlater/#/BV1PE411q7mZ/p6", info_only=True - ) - bilibili.download( - "https://www.bilibili.com/watchlater/#/av74906671/p6", info_only=True - ) + #def test_bilibili(self): + # bilibili.download( + # "https://www.bilibili.com/watchlater/#/BV1PE411q7mZ/p6", info_only=True + # ) + # bilibili.download( + # "https://www.bilibili.com/watchlater/#/av74906671/p6", info_only=True + # ) def test_soundcloud(self): ## single song @@ -58,6 +59,8 @@ class YouGetTests(unittest.TestCase): # 'https://soundcloud.com/anthony-flieger/sets/cytus', info_only=True #) + def test_haokan(self): + haokan.download('https://haokan.baidu.com/v?vid=1792435769358388527',info_only=True) #def tests_tiktok(self): # tiktok.download('https://www.tiktok.com/@nmb48_official/video/6850796940293164290', info_only=True) # tiktok.download('https://t.tiktok.com/i18n/share/video/6850796940293164290/', info_only=True)