I want to download a video with youtubedl
I have my options to set to:
ydl_opts = {
'verbose': False,
'ignoreerrors': True,
'cachedir': None,
'outtmpl': "%(title)s.%(ext)s",
'format': 'm4a/bestaudio/best',
'postprocessors': [{
'key': 'FFmpegExtractAudio',
'preferredcodec': 'm4a',
}]
}
But the program gives me this error
[download] Got error: HTTP Error 403: Forbidden
ERROR: fragment 1 not found, unable to continue
I am on the latest version youtube-dl available with pip.
I tried to add a referrer because I read that might work from a previous post, but that was unsuccessful.
from Youtube-dl error message: Got error: HTTP Error 403: Forbidden
No comments:
Post a Comment