![forbidden google drive download forbidden google drive download](https://cdn.appuals.com/wp-content/uploads/2022/05/maxresdefault-13.jpg)
![forbidden google drive download forbidden google drive download](https://cdn.statically.io/img/techcult.com/wp-content/uploads/2022/05/Untitled-2.png)
By default, youtube-dl will download the highest quality audio and the highest quality video streams available and then join them into a compatible container like mkv, mp4 etc. This is not actually a problem but an expected behavior for youtube-dl command. Merging formats into "Takkar _ Nira Song Lyric Video _ Siddharth _ Sid Sriram _ Gautham Menon _ Nivas K Prasanna-4jTy5jnMkYc.mkv"ĭeleting original file Takkar _ Nira Song Lyric Video _ Siddharth _ Sid Sriram _ Gautham Menon _ Nivas K 4 (pass -k to keep)ĭeleting original file Takkar _ Nira Song Lyric Video _ Siddharth _ Sid Sriram _ Gautham Menon _ Nivas K (pass -k to keep)Īs you may probably noticed, there is a warning message in the above command: Destination: Takkar _ Nira Song Lyric Video _ Siddharth _ Sid Sriram _ Gautham Menon _ Nivas K Destination: Takkar _ Nira Song Lyric Video _ Siddharth _ Sid Sriram _ Gautham Menon _ Nivas K 4 4jTy5jnMkYc: Downloading js player vflset $ youtube-dl 4jTy5jnMkYc: Downloading webpage Now, I can be able to download the youtube videos without any issues. # 'cachedir': False -> don't use a local caching dir (~/.cache/youtube-dl) ydl_opts = with youtube_dl.YoutubeDL(ydl_opts) as ydl: result = ydl.extract_info(url) If you use Youtube-dl in Python code, the following will help to fix this error. In my case, it removed the following directory: Removing cache dir /home/sk/.cache/youtube-dl. This command command will remove the local caching directory for youtube-dl. To fix it, simply remove the cache for youtube-dl using command: $ youtube-dl -rm-cache-dir This error will probably happen because of Youtube-dl cache. Fix “Unable to download video data: HTTP Error 403: Forbidden” Error When Downloading Media Files With Youtube-dl In Linux If you ever encountered with this error, follow the steps given below to fix it. WARNING: Requested formats are incompatible for merge and will be merged into mkv.ĮRROR: unable to download video data: HTTP Error 403: Forbidden It is already updated! I have the most recent version.Īnd then I tried again to download the video with command: $ youtube-dl īut I get the same error: 4jTy5jnMkYc: Downloading webpage So I updated youtube-dl using command: $ sudo youtube-dl -U Usually, most youtube-dl errors will be fixed after updating youtube-dl. Today, I tried to download a video from YouTube using youdtube-dl from my Linux desktop and got this error message – Unable to download video data: HTTP Error 403: Forbidden. I often use it to download audios, videos and movies from Internet. Youtube-dl is my favorite and preferred command line download manager.