nohup youtube-dl -f 140 https://www.youtube.com/watch?v=zV3k9OlQTqs &
--skip-unavailable-fragments
import youtube_dl
def download_(link):
ydl_opts = {'outtmpl': 'video/%(title)s.%(ext)s'}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([link])
download_("https://www.youtube.com/watch?v=zV3k9OlQTqs")