1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-27 00:09:53 +08:00

tiktok extractor

This commit is contained in:
hodayabu
2020-04-20 20:54:18 +03:00
Unverified
parent 82381d8dd4
commit 817be403eb
3 changed files with 71 additions and 49 deletions
View File
+2 -1
View File
@@ -8,7 +8,8 @@ class TikTokTestYoutubeDl(unittest.TestCase):
params = {}
ydl = youtube_dl.YoutubeDL(params)
info = ydl.extract_info(url, download=False)
self.assertEquals(info['title'], "She got a face full of DUSTBIN #foryou")
self.assertEquals(info['share_count'], 110)
if __name__ == '__main__':