Hi, I'm trying to download this free video from olympics.com:
https://olympics.com/en/video/beijing-2008-opening-ceremony
I tried several methods including youtube-dl with m3u8, youtube-dl with chrome cookies.txt, and ffmpeg with m3u8 but they always return Server returned 403 Forbidden (access denied)
For example... here's one I tried for ffmpeg
And this is the message I got back:Code:"C:\Hacks\Files\ffmpeg.exe" ^ -headers "Referer: https://olympics.com/en/video/beijing-2008-opening-ceremony" ^ -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" ^ -i "https://vod.olympicchannel.com/NBCR_Production_-_OCS/616/676/GCDG-BEIJINGS01E001-_E17052901_master.m3u8?hdnts=exp=1677694674~acl=/*~hmac=902d3745af1f9c9747bfc333348371a88cfc3d222a17fad162ae6708c7d8eca8" ^ -c copy ^ output.ts
As soon as I get the m3u8 URL I immediately try to download before the link expires. Any ideas or suggestions? Thanks.Code:ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 [https @ 06c66140] No trailing CRLF found in HTTP header. Adding it. [https @ 06c66140] HTTP error 403 Forbidden https://vod.olympicchannel.com/NBCR_Production_-_OCS/616/676/GCDG-BEIJINGS01E001-_E17052901_master.m3u8?hdnts=exp=1677694674~acl=/*~hmac=902d3745af1f9c9747bfc333348371a88cfc3d222a17fad162ae6708c7d8eca8: Server returned 403 Forbidden (access denied)
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by syrist; 1st Mar 2023 at 12:47.
-
Use yt-dlp with cookies and headers:
Code:yt-dlp -N 6 --cookies-from-browser firefox --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0" --referer "https://olympics.com/" "https://vod.olympicchannel.com/NBCR_Production_-_OCS/616/676/GCDG-BEIJINGS01E001-_E17052901_master.m3u8?hdnts=exp=1677697946~acl=/*~hmac=a16ceab36e25c6dfd9f50b143e759ab348513c09ab8b478fc3c88185a445135e"
Code:[generic] Extracting URL: https://vod.olympicchannel.com/NBCR_Production_-_OCS/616/676/GCDG-BEIJINGS01E001-_E17052901_maste...478fc3c88185a445135e [generic] *~hmac=a16ceab36e25c6dfd9f50b143e759ab348513c09ab8b478fc3c88185a445135e: Downloading webpage [generic] *~hmac=a16ceab36e25c6dfd9f50b143e759ab348513c09ab8b478fc3c88185a445135e: Downloading m3u8 information [info] *~hmac=a16ceab36e25c6dfd9f50b143e759ab348513c09ab8b478fc3c88185a445135e: Downloading 1 format(s): 6294 [hlsnative] Downloading m3u8 manifest WARNING: Live HLS streams are not supported by the native downloader. If this is a livestream, please add "--downloader ffmpeg --hls-use-mpegts" to your command [hlsnative] Total fragments: 1550 [download] Destination: GCDG-BEIJINGS01E001-_E17052901_master [*~hmac=a16ceab36e25c6dfd9f50b143e759ab348513c09ab8b478fc3c88185a445135e].mp4 WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome [download] 0.4% of ~ 11.26GiB at 13.27MiB/s ETA 47:07 (frag 6/1550)
Similar Threads
-
Could you help me how to download this forbidden 403 m3u8?:(
By bu-woo in forum Video Streaming DownloadingReplies: 10Last Post: 30th Jul 2024, 19:34 -
Always getting a 403 Forbidden Error
By cohnhead in forum Video Streaming DownloadingReplies: 20Last Post: 4th Sep 2023, 08:35 -
403 Forbidden Error from yt-dlp on mpd file download?
By influx in forum Video Streaming DownloadingReplies: 12Last Post: 5th Oct 2021, 14:48 -
Tryng to download from animal planet... HTTP error 403 Forbidden
By syrist in forum Video Streaming DownloadingReplies: 3Last Post: 15th May 2020, 19:38 -
download afreecatv steaming with ffmpeg get HTTP error 403 Forbidden
By j2ee in forum Video Streaming DownloadingReplies: 1Last Post: 30th Apr 2020, 09:13