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': TruetoYoutubeDLparams 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
- [ie/patreon] Fix m3u8 formats extraction (#13266) Closes #13263 Authored by: bashonly — committed to nentenpizza/yt-dlp by bashonly a year ago
- [ie/patreon] Fix referer header used for embeds (#13276) Fix e0d6c0822930f6e63f574d46d946a58b73ecd10c Closes #13263 Authored by: bashonly — committed to vstavrinov/yt-dlp by bashonly a year ago
- [ie/patreon] Fix m3u8 formats extraction (#13266) Closes #13263 Authored by: bashonly — committed to heeeeeeeeeeh/yt-dlp by bashonly a year ago
Yep, that works for me! Tested from a Git checkout of the
2025.05.22tag:./yt-dlp.sh -vU --cookies-from-browser firefox --referer 'https://www.patreon.com/' 'https://patreon.com/posts/129620993'(Also works with
2025.04.30from the Debian repos FWIW)I can’t reproduce the issue with free content test URLs (neither
https://www.patreon.com/posts/video-sketchbook-32452882norhttps://www.patreon.com/posts/hunter-x-hunter-34007913result in the error).@Ayymoss @romlok Does it work if you add
--referer "URL"to your command? (WhereURLis 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.