mirror of
https://github.com/soimort/you-get.git
synced 2025-02-09 03:37:52 +03:00
新片场4K下载报错
This commit is contained in:
parent
6f9cd8a069
commit
875a1ca245
@ -10,7 +10,8 @@ from you_get.extractors import (
|
|||||||
acfun,
|
acfun,
|
||||||
bilibili,
|
bilibili,
|
||||||
soundcloud,
|
soundcloud,
|
||||||
tiktok
|
tiktok,
|
||||||
|
xinpianchang
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -33,9 +34,9 @@ class YouGetTests(unittest.TestCase):
|
|||||||
'http://www.youtube.com/attribution_link?u=/watch?v%3DldAKIzq7bvs%26feature%3Dshare', # noqa
|
'http://www.youtube.com/attribution_link?u=/watch?v%3DldAKIzq7bvs%26feature%3Dshare', # noqa
|
||||||
info_only=True
|
info_only=True
|
||||||
)
|
)
|
||||||
#youtube.download(
|
# youtube.download(
|
||||||
# 'https://www.youtube.com/watch?v=Fpr4fQSh1cc', info_only=True
|
# 'https://www.youtube.com/watch?v=Fpr4fQSh1cc', info_only=True
|
||||||
#)
|
# )
|
||||||
|
|
||||||
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)
|
||||||
@ -53,12 +54,18 @@ class YouGetTests(unittest.TestCase):
|
|||||||
soundcloud.download(
|
soundcloud.download(
|
||||||
'https://soundcloud.com/keiny-pham/impure-bird', info_only=True
|
'https://soundcloud.com/keiny-pham/impure-bird', info_only=True
|
||||||
)
|
)
|
||||||
## playlist
|
|
||||||
#soundcloud.download(
|
|
||||||
# 'https://soundcloud.com/anthony-flieger/sets/cytus', info_only=True
|
|
||||||
#)
|
|
||||||
|
|
||||||
#def tests_tiktok(self):
|
def test_xinpianchang(self):
|
||||||
|
## 4K
|
||||||
|
xinpianchang.download('https://www.xinpianchang.com/a11029357?from=ArticleList', info_only=True)
|
||||||
|
xinpianchang.download('https://www.xinpianchang.com/a10791486?from=ArticleList', info_only=True)
|
||||||
|
xinpianchang.download('https://www.xinpianchang.com/a10296109?from=ArticleList', info_only=True)
|
||||||
|
## playlist
|
||||||
|
# soundcloud.download(
|
||||||
|
# 'https://soundcloud.com/anthony-flieger/sets/cytus', info_only=True
|
||||||
|
# )
|
||||||
|
|
||||||
|
# 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)
|
||||||
# tiktok.download('https://vt.tiktok.com/UGJR4R/', info_only=True)
|
# tiktok.download('https://vt.tiktok.com/UGJR4R/', info_only=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user