mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
add test case for YouTube
This commit is contained in:
parent
9cbc563c65
commit
5732df0137
@ -14,6 +14,13 @@ class YouGetTests(unittest.TestCase):
|
|||||||
]:
|
]:
|
||||||
url_to_module(url).download(url, info_only = True)
|
url_to_module(url).download(url, info_only = True)
|
||||||
|
|
||||||
|
def test_youtube(self):
|
||||||
|
for url in [
|
||||||
|
"http://www.youtube.com/watch?v=pzKerr0JIPA",
|
||||||
|
"http://youtu.be/pzKerr0JIPA",
|
||||||
|
]:
|
||||||
|
url_to_module(url).download(url, info_only = True)
|
||||||
|
|
||||||
def test_googleplus(self):
|
def test_googleplus(self):
|
||||||
for url in [
|
for url in [
|
||||||
"http://plus.google.com/102663035987142737445/posts/jJRu43KQFT5",
|
"http://plus.google.com/102663035987142737445/posts/jJRu43KQFT5",
|
||||||
|
Loading…
Reference in New Issue
Block a user