no message

This commit is contained in:
liqi001 2021-03-26 18:08:49 +08:00
parent 8bbc040580
commit 934d6b6fd3

View File

@ -10,7 +10,8 @@ from you_get.extractors import (
acfun, acfun,
bilibili, bilibili,
soundcloud, soundcloud,
tiktok tiktok,
haokan
) )
@ -40,13 +41,13 @@ class YouGetTests(unittest.TestCase):
def test_acfun(self): def test_acfun(self):
acfun.download('https://www.acfun.cn/v/ac11701912', info_only=True) acfun.download('https://www.acfun.cn/v/ac11701912', info_only=True)
def test_bilibili(self): #def test_bilibili(self):
bilibili.download( # bilibili.download(
"https://www.bilibili.com/watchlater/#/BV1PE411q7mZ/p6", info_only=True # "https://www.bilibili.com/watchlater/#/BV1PE411q7mZ/p6", info_only=True
) # )
bilibili.download( # bilibili.download(
"https://www.bilibili.com/watchlater/#/av74906671/p6", info_only=True # "https://www.bilibili.com/watchlater/#/av74906671/p6", info_only=True
) # )
def test_soundcloud(self): def test_soundcloud(self):
## single song ## single song
@ -58,6 +59,8 @@ class YouGetTests(unittest.TestCase):
# 'https://soundcloud.com/anthony-flieger/sets/cytus', info_only=True # '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): #def tests_tiktok(self):
# tiktok.download('https://www.tiktok.com/@nmb48_official/video/6850796940293164290', info_only=True) # 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) # tiktok.download('https://t.tiktok.com/i18n/share/video/6850796940293164290/', info_only=True)