r/youtubedl • u/splicer44 • 1d ago
Answered Updating dependencies
Hi guys ,still new,I finally faced my fears and I am currently using this wonderful tool.
Do you also update the FFmpeg and Deno executables when YouTube changes anything?
r/youtubedl • u/bashonly • 6h ago
utils
encodeArgument (#17621) by doe1080long_to_bytes and bytes_to_long (#17630) by doe1080LenientJSONDecoder: Fix error reporting (#17840) by doe1080PagedList: Fix empty slices (#17843) by doe1080fix_xml_ampersands: Fix numeric character references (#17842) by doe1080js_to_json: Fix line comment removal (#17845) by doe1080random_user_agent: Bump version range 151-157 => 152-158 (#18100) by dlp-botremove_dot_segments: Fix missing leading slashes (#17937) by doe1080smuggle_url: Prevent input data mutation (#17851) by doe1080unified_timestamp: Fix AM/PM and timezone parsing (#17854) by doe1080xpath_element: Fix empty XPath list errors (#17841) by doe1080heatmap (#17512) by doe1080youtube
web_embedded fallback (#18188) by bashonlyffprobe debug label (#17783) by doe1080 (With fixes in f1e037e by bashonly)Request Handler
urllib
read(-1) (#17827) by doe1080Authorization header on HTTP redirect (#18175) by bashonly (With fixes in 6ec0efa)Proxy-Authorization header on HTTP redirect (#18179) by bashonlybuild
ci
cleanup
compat_etree_fromstring (#17625) by doe1080
NOTE: The nightly release channel is strongly recommended for most users, as it gets all important fixes sooner.
# To update to nightly from the executable/binary:
yt-dlp --update-to nightly
# To install/upgrade to nightly with pip:
python3 -m pip install -U --pre "yt-dlp[pin,pin-curl-cffi]"
# To install/update to nightly with pipx:
pipx uninstall yt-dlp
pipx install --pip-args=--pre "yt-dlp[pin,pin-curl-cffi]"
# To install from master with homebrew:
brew uninstall yt-dlp
brew update && brew install --HEAD yt-dlp
# To upgrade to latest master with homebrew if you've already installed with --HEAD:
brew upgrade --fetch-HEAD yt-dlpr/youtubedl • u/splicer44 • 1d ago
Hi guys ,still new,I finally faced my fears and I am currently using this wonderful tool.
Do you also update the FFmpeg and Deno executables when YouTube changes anything?
r/youtubedl • u/fox-me • 1d ago
I've put together a portable yt-dlp.conf for Windows to make my YouTube archiving workflow easier to maintain
I keep the configuration file in the same directory as yt-dlp.exe, so I don't have to type all these options every time
My main goals are:
Here's the configuration I'm currently using:
# ==========================================
# yt-dlp configuration for Windows
# ==========================================
# ---------- Output and file organization ----------
# Organize videos by uploader, year, and video title
-o "D:\Media\YouTube\%(uploader)s\%(upload_date>%Y)s\%(title)s [%(id)s]\%(title)s [%(id)s] %(upload_date>%Y-%m-%d)s.%(ext)s"
# Keep track of previously downloaded videos
--download-archive "D:\Media\YouTube\archive.txt"
# ---------- Video format ----------
# Merge video and audio into MKV
--merge-output-format mkv
# ---------- Embedded metadata ----------
# Embed video information as JSON
--embed-info-json
# Embed metadata into the video
--embed-metadata
# Embed chapter information
--embed-chapters
# Embed thumbnail
--embed-thumbnail
# ---------- Additional metadata files ----------
# Save video information as a separate JSON file
--write-info-json
# Save video descriptions
--write-description
# Save thumbnails as separate files
--write-thumbnail
# ---------- Subtitles ----------
# Download manually created subtitles
--write-subs
# Download automatically generated subtitles
--write-auto-subs
# Embed subtitles into the video
--embed-subs
# Optional: add your preferred subtitle language codes here
# --sub-langs "..."
# Prefer the best available subtitle format
--sub-format "best"
# Wait before downloading subtitles
--sleep-subtitles 30
# ---------- Request intervals and concurrency ----------
# Wait between HTTP requests
--sleep-requests 5
# Download 4 fragments concurrently
-N 4
# ---------- Authentication ----------
# Use a local cookies file
--cookies "cookies.txt"
# ---------- Error handling ----------
# Continue processing despite individual download errors
--ignore-errors
Could you please tell me: Is there anything important missing for long-term and full video archiving? I do not care storage
I'm particularly interested in reliability and data preservation rather than maximizing download speed because YouTube can let cookies expire anytime, especially when you download too many and too fast
Thanks!
r/youtubedl • u/aestheticalbob • 2d ago
I need an app that I can use to download videos from youtube, I was using an app called offline with a blue icon but sometimes it just doesn’t show the downloading button and idk why is that 🤷🏻♀️
r/youtubedl • u/allegro_1 • 5d ago
After downloading a video with dubbed audio from YouTube, I am unable to watch it with the dubbing; it still downloads in the original language. How can I fix this?
r/youtubedl • u/SennheiserPass • 5d ago
I'm using --cookies-from-browser firefox, but I get this result: You need to log in to access this content.
Even though I'm logged in in the browser.
EDIT: The story is already gone, nm
r/youtubedl • u/Myrmir18 • 5d ago
Sorry if this is a stupid question, but I've seen the news going around about Git repositories getting compromised with malware by PolinRider. As a total layman with yt-dlp installed recently, I just wanted to double check: this project isn't affected by that, is it?
r/youtubedl • u/AsinineArchon • 6d ago
Every time I try to download a video that is age restricted it comes out in the lowest possible resolution. I'm pretty illiterate with this kind of thing so I feel like I'm out of my depth
I've updated to nightly. I need h.264. Does anyone have any solution to this?
This is my current command
yt-dlp -t mp4 --cookies-from-browser firefox [URL]
r/youtubedl • u/Eikuld • 7d ago
And the cookies was involved which I also remembered. I just dont remember how to do any of this anymore and the guides out there seems fishy, ai generated articles or some very complicated ones which I dont remember the command being that very long lol. Was hoping if anyone can point me to right direction or a command template? Thank you!
Edit: I use windows 10!
r/youtubedl • u/ETMCG98 • 7d ago
I'm trying to download that has 2 English tracks "English original" and "English (GB)" but I'm only getting the original English.
Heres the command iv been using, is there anything I can change to get both?
yt-dlp -f "bv+ba[language^=en]/best" --audio-multistreams --sub-langs "en.*" --embed-subs --add-metadata --embed-thumbnail --merge-output-format mkvupdate: fixed the issue i started using
yt-dlp -f "bv+ba[language=en]+ba[language^=en-GB]/bv+ba[language^=en]" --audio-multistreams --sub-langs "en.*" --embed-subs --add-metadata --embed-thumbnail --merge-output-format mkvit trys getting english and english (gb) and if it cant find both it defaults to the highest quality english
r/youtubedl • u/Luuh998 • 7d ago
I already got the cookie and it still can't search for videos and music at all, I don't know what the problem is, I already uninstalled and reinstalled it; and it didn't help at all.
r/youtubedl • u/Empty-Forever-6249 • 7d ago
I have a lot of low resolution videos that I want to back up. Do I need to do anything to not get banned and not overheat, cookie error?
I assume a cooldown would help and I also have 1mb/s download and not much more.
And how can I download to my external hdd and not pc.
Edit: I researched and it seems like I can just use Google takeout for everything, right? I wait for my external hdd.
r/youtubedl • u/TurdyPoo32 • 8d ago
I've followed all the directions for windows in the wiki.
The issue I'm having right now (or maybe just some technical details I don't understand) is my files keep ending up as WEBM.
Now some context: before I used to always use some "youtube to mp4" website, and lately jd2. I'm trying to take the plunge into yt-dlp.
At first I completely skipped the wiki and just ran .\yt-dlp followed by the link. Which gave me separate video and audio files. Now I'm trying to understand why it keeps outputing a WEBM file (which I hate). Is there some benefit to that?
I've looked around a bit on the subreddit and it seems related to resolution. I was wondering if anyone could explain 1. why yt-dlp does this and 2. why there are so many different commands such as -(letter) or [best quality] to customize the file.
If there's a place or resource someone could point me to that would explain all this in detail I'd appreciate any direction.
Also what are winget and nightly?
r/youtubedl • u/loloreel • 8d ago
I usually use yt-dlp to download videos, but I often encounter problems: some videos can't be downloaded, it can be slow etc. When this happens, I just use a "youtube to mp4" website to download the video and it works insanely better. Videos download faster, pretty much all videos work, no age-restriction etc.
So how do they do that? Are they using something else than yt-dlp? I spend so much time trying fixes like passing cookies and changing the js runtime, but it's not always enough to make it work. At this point yt-dlp is barely worth using compared to these websites.
The problem I encounter is that I'm trying to bulk download a whole channel (which is something that these websites usually don't offer), but when trying with yt-dlp I get error "This video is not available" and "Requested format is not available" when using cookies.
Is there any alternative to yt-dlp or is there any reliable way to fix it?
r/youtubedl • u/vi5ions • 9d ago
Hello. Sorry for any grammatical errors; I'm not a native English speaker. As someone who has used many YouTube downloaders to import in Adobe After Effects or Premiere Pro, many of them lack the 4k quality or download a quality that is less from the original YouTube video. I remember when I came across Cobalt and was happy to find a website where 4 K videos were available to download without sketchy ads or viruses. Now that they are having issues with YouTube, I switched to the ytdlp command-line, so I'm new to using this type of coding. When I downloaded a 2160p video using the "yt-dlp -f "bv*[height<=2160]+ba" --merge-output-format mp4" command in the Command Prompt, the video played out fine until I tried to import it into Adobe Premiere Pro. After many failed attempts, I went to see any solutions and most of the videos said to download VLC or Shutter Encoder and followed their steps, but to no avail. Does anyone know the specific command to fix this using only the Command Prompt without losing quality?
r/youtubedl • u/Ibra7iemanwa • 9d ago
Hi I just downloaded ytdlnis to download videos from YouTube morphe but it keeps giving me error 403 forbidden I tried downloading deno from settings and tried other videos but keeps give me same error
r/youtubedl • u/Future_Perx • 11d ago
I have an array of ‘surround sound’ videos on yt i’m confident are actually surround sound. But when I post the formats it only pops up with 2 CH and there’s no mention of eac3 codecs and such. I argue with ai about why and how to—get the 6 CH to appear and be downloadable. It went over the logistics of why it’s all happening and claimed it’s tricky but possible with this command it keeps repeating. `yt-dlp --extractor-args "youtube:player_client=default,web_embedded" -F "https://youtu.be/iTHtXgnhqfM"` But it doesn’t show up like I said, and it was also explaining how yt-dlp queries use standard web client signatures and yt serves surround streams only TV clients and such.
But again it said it’s possible if I trick youtube by using a tv client and such, and kept telling me to like put in commands for other stuff and kept giving me that same aforementioned command as well. But to no avail, thinking yt restricts/encrypts it, in a sense. until i found this other reddit post https://www.reddit.com/r/youtubedl/s/QNXCs7URTR doing the same thing and in someone’s example of their format chart and i see its possible for 6 ch to pop up from a yt video.
So how do i do it
r/youtubedl • u/bashonly • 12d ago
utils
find_xpath_attr: Support quotes in attribute values (#17857) by doe1080random_user_agent: Bump version range 145-151 => 151-157 (#17930) by dlp-botdrtv
youtube
ios_producer player client (#17866) by bashonly, TheErrorExeweb_embedded client policies and deprioritize (#18051) by ruben1PvPdashy extractor-arg (#18092) by bashonlypost_live status information (#18063) by bashonlyweb from default clients (#18131) by bashonlytv as default player_js_variant (#18124) by bashonlyini_options table for pytest config (#17952) by yardenacbuild
macos-15-intel runner for macos builds (#17944) by bashonlyci
docs
NOTE: The nightly release channel is strongly recommended for most users, as it gets all important fixes sooner.
# To update to nightly from the executable/binary:
yt-dlp --update-to nightly
# To install/upgrade to nightly with pip:
python3 -m pip install -U --pre "yt-dlp[pin,pin-curl-cffi]"
# To install/update to nightly with pipx:
pipx uninstall yt-dlp
pipx install --pip-args=--pre "yt-dlp[pin,pin-curl-cffi]"
# To install from master with homebrew:
brew uninstall yt-dlp
brew update && brew install --HEAD yt-dlp
# To upgrade to latest master with homebrew if you've already installed with --HEAD:
brew upgrade --fetch-HEAD yt-dlpr/youtubedl • u/IsMathScience_ • 12d ago
I'm actively building a personal wrapper (Been learning myself to code for the past few months, it's fun but frustrating). Having gone through a few different iterations, I've landed at the following:
'--min-sleep-interval', '10',
'--max-sleep-interval', '20',
'--sleep-requests', '4',While it works without hitting any rate limitations, I also find that a large % of the time, I'm just waiting for downloads to start rather than actually downloading. My current session looks like this:
Elapsed: 23:54:08
Download stopwatch: 04:16:56 (Active)
-- Status: Connected --
Speed: 3.04 MB/s
File size: 72.67 MB
35%/100%
Total size of new downloads: 102.58 GB
Total downloads: 1245Basically, 24 hours running in total but only 4 hours of actively downloading content.
Now, I'm patient enough to let this run it's course (9/34 channels done) but I'm also sure my choice of wait time is likely superfluous... But I don't know by how much! So, what's the recommendations here? How much should I actually set these at?
r/youtubedl • u/lets_keep_simple • 12d ago
I downloaded it's latest version of YTDLnis from official site , but it says this when i try to download using revanced manager, and this app set as external downloader.
CANNOT LINK EXECUTABLE "/data/app/~~U3ptmZVhwkyXmZkpyJrfGQ==/com.deniscerri.ytdl-9w_dv_uQZQWxqT2rEQn1hA==/lib/arm64/libpython.so": library "libandroid-support.so" not found: needed by main executable
r/youtubedl • u/Standard_Tank6703 • 12d ago
I can't figure out the syntax to do something like this, where av01 DOES work, but to add others if need be. In my case also include vcodec~='avc1' as a fallback, for instance, or potential others as they become obvious.
--format "bestvideo[height<=1080][vcodec~='av01']+bestaudio[acodec~='mp4a']","best[height<=1080]","0"Just looking to exclude newer Google codecs from being used with .mp4 extension, which seems to be a newer thing with YT. An example of this being VP9/Opus audio being used in .mp4 extension files. This is unsupported in avidemux, hence my motivation.
r/youtubedl • u/Silver-Wealth816 • 12d ago
I don't know much about coding i tried to do a test run and download a video but the video and audio files are seperate also I want to download videos in 144p( i will download them again later with higher quality but since where I live the Internet is limited so I want to download them as 144p as a safety net if they get deleted and I will download them with higher quality after semester end)
r/youtubedl • u/oldangelmidnight • 12d ago
I'd like to download some videos from Instagram that all have different URLs but I guess they download with the same file name so it looks like they're already downloaded.
I'm using Tartube. Any suggestions?
r/youtubedl • u/ripdeadendedsoon • 13d ago
So I'm a beginner at using ytdl and noticed that when I download videos using merge-output-format mp4, there is no thumbnail shown in the folder and no audio when using windows media player / movie tv. But VLC/Davinci editor has audio (since those are more advanced I guess)
Is there any string or method to download them in a format that windows media can play the audio? Or It's a situation where it's merge-output-format mp4 gives the best quality and audio but using a opus format ? I would like to use VLC but for some reason it has an awkward delay for me which is why I want to try keeping windows media.