download video

This commit is contained in:
bhodaya 2020-05-03 20:12:06 +03:00
parent 3165ef58a5
commit b7103c6c5f

View File

@ -34,7 +34,7 @@ class TikTokTestYoutubeDl(unittest.TestCase):
ydl = youtube_dl.YoutubeDL(params)
info = ydl.extract_info(url, download=True)
self.assertTrue(os.path.exists("Imagine lebron freaking out over something you did! #foryou #ballislife #lebron #nba-6783617809113943301.mp.4"))
os.remove("Imagine lebron freaking out over something you did! #foryou #ballislife #lebron #nba-6783617809113943301.mp.4")