yt-dlp: [Patreon Video Download] Failed to download m3u8 information: HTTP Error 403

Checklist

  • I’m reporting that yt-dlp is broken on a supported site
  • I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
  • I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I’ve read about sharing account credentials and I’m willing to share it if required

Region

United Kingdom

Provide a description that is worded well enough to be understood

Patreon Video download attempt with new cookies file returns 403.

I ran the same command (minus -vU) last week with a now older revision of the cookies file present and it worked fine. I think something has changed on the site such that this process now fails today using yt-dlp.

Cookies were extracted using: https://chromewebstore.google.com/detail/get-cookiestxt-clean/ahmnmhfbokciafffnknlekllgcnafnie

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--cookies', 'patreon_cookies.txt', 'https://www.patreon.com/posts/059-my-brain-is-129571139']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2025.05.22.093922 from yt-dlp/yt-dlp-nightly-builds [7977b329e] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 2024-12-19-git-494c961379-essentials_build-www.gyan.dev (setts), ffprobe 2024-12-19-git-494c961379-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.04.26, curl_cffi-0.10.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.4.0, websockets-15.0.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1859 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2025.05.22.093922 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2025.05.22.093922 from yt-dlp/yt-dlp-nightly-builds)
[patreon] Extracting URL: https://www.patreon.com/posts/059-my-brain-is-129571139
[patreon] 129571139: Downloading API JSON
[patreon] 129571139: Downloading m3u8 information
ERROR: [patreon] 129571139: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: Forbidden>)
  File "yt_dlp\extractor\common.py", line 748, in extract
  File "yt_dlp\extractor\patreon.py", line 382, in _real_extract
  File "yt_dlp\extractor\common.py", line 2072, in _extract_m3u8_formats_and_subtitles
  File "yt_dlp\extractor\common.py", line 968, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 917, in _request_webpage

  File "yt_dlp\extractor\common.py", line 904, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4195, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 194, in wrapper
  File "yt_dlp\networking\common.py", line 359, in send
  File "yt_dlp\networking\_requests.py", line 368, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 403: Forbidden

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 34 (10 by maintainers)

Commits related to this issue

Most upvoted comments

can someone test if simply using --referer "https://www.patreon.com/" works on yt-dlp stable@2025.05.22?

Yep, that works for me! Tested from a Git checkout of the 2025.05.22 tag: ./yt-dlp.sh -vU --cookies-from-browser firefox --referer 'https://www.patreon.com/' 'https://patreon.com/posts/129620993'

(Also works with 2025.04.30 from the Debian repos FWIW)

I can’t reproduce the issue with free content test URLs (neither https://www.patreon.com/posts/video-sketchbook-32452882 nor https://www.patreon.com/posts/hunter-x-hunter-34007913 result in the error).

@Ayymoss @romlok Does it work if you add --referer "URL" to your command? (Where URL is the same link as the input URL you are passing to yt-dlp)?

Can confirm the update at bashonly/yt-dlp@patreon resolve this issue for me.

Hello fellow AE enjoyer!

@bashonly Yeah, that seemed to do the trick.

[debug] Command-line config: ['-vU', '--cookies', 'patreon_cookies.txt', 'https://www.patreon.com/posts/059-my-brain-is-129571139']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version bashonly/yt-dlp@patreon build 2025.05.22.184853 [eb8cbc2c8] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 2024-12-19-git-494c961379-essentials_build-www.gyan.dev (setts), ffprobe 2024-12-19-git-494c961379-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.04.26, curl_cffi-0.10.0, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.4.0, websockets-15.0.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1859 extractors
[debug] Fetching release info: https://api.github.com/repos/bashonly/yt-dlp/releases/tags/patreon
Requested version: bashonly/yt-dlp@patreon build 2025.05.22.184853
yt-dlp is up to date (bashonly/yt-dlp@patreon build 2025.05.22.184853)
[patreon] Extracting URL: https://www.patreon.com/posts/059-my-brain-is-129571139
[patreon] 129571139: Downloading API JSON
[patreon] 129571139: Downloading m3u8 information
[download] Downloading playlist: 059 - My Brain is Exploding
[patreon] Playlist 059 - My Brain is Exploding: Downloading 2 items of 2
[download] Downloading item 1 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 129571139-1: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://c10.patreonusercontent.com/4/patreon-media/p/post/129571139/d4961b60647749419ea69d47e04afda0/eyJhIjoxLCJpc19hdWRpbyI6MSwicCI6MX0%3D/1.m4a?token-hash=WJ_uTqlfZIplM9zs3A4cixrSusgvyM4oOfOctZZ_M8U%3D&token-time=1748044800"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: 059 - My Brain is Exploding [129571139-1].m4a
[download] 100% of  260.82MiB in 00:00:04 at 63.18MiB/s
[download] Downloading item 2 of 2
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 129571139: Downloading 1 format(s): 3444
[debug] Invoking hlsnative downloader on "https://manifest-gcp-us-east1-vop1.fastly.mux.com/x1A2jzmnysLyTXkAPyuYAVjj1ZAQpLkTW7LvUnWj02Kn8gmiEs7k8Qf7Nl9GCioCRQTJ4fI3DinTfV02VvL8r2qZDYVN66XfQo/rendition.m3u8?cdn=fastly&expires=1748030400&rid=Ir02FmqsqUnMIpEqH89MdlvWa15QwOo6dCnelCtSI9YI&skid=default&signature=NjgzMGQzYzBfN2NhNGY3ZWQ2YzI3Y2UxZTQ2Njg2ZDA4NmE5ZDU2ZjZjZWU0ZTI4NTQwMGU5ZTRkYTMyYmFmZDU1OTQyOTMwNQ=="
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 2262
[download] Destination: 059 - My Brain is Exploding [129571139].mp4
[download] 100% of    2.80GiB in 00:01:24 at 33.90MiB/s
[debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json "file:059 - My Brain is Exploding [129571139].mp4"
[debug] ffmpeg command line: ffprobe -show_streams "file:059 - My Brain is Exploding [129571139].mp4"
[FixupM3u8] Fixing MPEG-TS in MP4 container of "059 - My Brain is Exploding [129571139].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:059 - My Brain is Exploding [129571139].mp4" -map 0 -dn -ignore_unknown -c copy -f mp4 -bsf:a aac_adtstoasc -movflags +faststart "file:059 - My Brain is Exploding [129571139].temp.mp4"
[download] Finished downloading playlist: 059 - My Brain is Exploding