- [+] add test_sohu()

This commit is contained in:
suntong 2018-07-05 16:00:14 -04:00 committed by GitHub
parent e635628639
commit 27a4f9b126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,14 @@ class YouGetTests(unittest.TestCase):
'https://www.bilibili.com/video/av13228063/', info_only=True 'https://www.bilibili.com/video/av13228063/', info_only=True
) )
def test_sohu(self):
sohu_download.download(
'https://tv.sohu.com/v/cGwvOTQ0Nzk1Ni8xMDIxMTMwMjguc2h0bWw=.html', info_only=True
)
sohu_download.download(
'https://tv.sohu.com/v/cGwvOTI5ODkyOC85OTk0ODY5Mi5zaHRtbA==.html', info_only=True
)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()