from __future__ import unicode_literals import youtube_dl ydl_opts = {} with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download(['https://ojogoaberto.club.hotmart.com/lesson/PeA5JdJ8eW/apresentacao'])