mirror of
https://github.com/l1ving/youtube-dl
synced 2026-05-27 00:09:53 +08:00
tiktok extractor
This commit is contained in:
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user