From 27a4f9b12644efff080d64d0eb8b3ff99f9e8147 Mon Sep 17 00:00:00 2001 From: suntong Date: Thu, 5 Jul 2018 16:00:14 -0400 Subject: [PATCH] - [+] add test_sohu() --- tests/test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test.py b/tests/test.py index 6562d7ca..c00d4817 100644 --- a/tests/test.py +++ b/tests/test.py @@ -39,6 +39,14 @@ class YouGetTests(unittest.TestCase): '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__': unittest.main()