HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ytdl-org
youtube-dl
Python2012–2026
ytdl-org / youtube-dl

youtube-dl

Command-line program to download videos from YouTube.com and other video sites

188Distinct people
220Mentions
2Explicit recommenders
141.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Command-line program to download videos from YouTube.com and other video sites

GitHub

Where it is used

  • youtube-dl-api-server — youtube-dl-api-server uses youtube-dl to power a REST API that retrieves video information from various sites. Source

What people are saying

Here's a couple (albeit macOS focused) favorites of mine: - Deliveries: macOS / iOS package tracking https://itunes.apple.com/us/app/deliveries-a-package-tracker... -…

firloop used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 11:39:46 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year220 dated mentions

Observed mentions: 2012-03-11 07:35:07 UTC to 2026-09-26 00:27:46 UTC.

020402012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20122013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 12 mentions; 1 submissions, 11 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 11 mentions; 2 submissions, 9 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 21 mentions; 1 submissions, 20 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 13 mentions; 2 submissions, 11 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 51 mentions; 3 submissions, 48 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 37 mentions; 5 submissions, 32 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 17 mentions; 2 submissions, 15 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 19 mentions; 2 submissions, 17 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 8 mentions; 0 submissions, 8 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC202
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC202
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC12111
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC13112
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC1019
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC1129
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC21120
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC13211
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC51348
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC37532
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC17215
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC19217
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC808
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC312
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

19 sources
>but the likely reason its easier to pretend to be android is they have to support older versions for a long time, once you've emulated the behaviour its difficult for them to fix that 1. Needing to support older versions is specifically why most of the client logic isn't in the app itself, it's in a javascript bundle that it receives from the server. At this point you can't pretend to be an android app making HTTP api calls. You have to either provide a fully functioning javascript execution environment, or deal with all the API changes that they throw your way through the updated javascript bundles[1]. 2. Pretending to be android is harder than you think. There's tens of thousands of system APIs available that you can call, to check for inconsistencies or implementation quirks. You can even try to fingeprint/profile the hardware (eg. GP
Read the rest
U or DSP) itself, or the java execution environment. DRMs use the same principles to bind activation tokens to a given machine, so you can't crack a game by taking one valid token and sharing it with everyone else. [1] eg. https://github.com/ytdl-org/youtube-dl/issues/29326#issuecom...
In YouTube: Adblockers violate YouTube's terms of service
The best way is to download the source from github, run `make`, and copy the the file to $HOME/bin . There hasn't been a release for about a year now and the files on the distro repos are even older (I think). Also YouTube has been doing some changes lately on the the player and a lot of the tools fail to download audio or video. For example, in the last couple of weeks there have been some issues with a redirect to a 'consent page' : https://github.com/ytdl-org/youtube-dl/issues/32499
In Ask HN: What's the Situation with YouTube-Dl?
I think it's a bit of an understatement to say that YouTube video content URLs are just obfuscated. I don't think this is referring to the youtube.com URLs of public videos, which are public so not "obfuscated", but the underlying URLs that serve the raw video data to the client. These are temporary and generated per-client. While only paid content and some special videos use the serious DRM that requires browser extensions like WideVine, all YouTube videos require a pretty complex process to download. Famously, yt-dlp has its own minimal JavaScript interpreter which is needed to evaluate the obfuscated JS script[0] that YouTube provides so the client can determine its actual video download URL. The end of the process does just result in figuring out an obfuscated URL but that URL is temporary and limited per-client. Here's the yt-dlp JS
Read the rest
interpreter (though I don't know in which situations it actually needs to use it): https://github.com/ytdl-org/youtube-dl/blob/master/youtube_d... [0] Some of YouTube's obfuscated JS: https://www.youtube.com/s/player/bbe1b497/player_ias.vflset/...
In Music Company Asks Google to Delist 'YouTube Downloader' Wikipedia Article
Now in the first week of this issue I half recall the line in the code was pointed out, (possibly it's the one that's now being claimed as not a good fix still listed in the above) in one of the many people reporting the bug, with that being all that needed to be changed ... I didn't feel like at the time, grabbing the source, finding the offending line, and then compile it and besides there would probably be a working binary fix available for download that might have resolved a few other issues. I'd been following along every few days to a week to see there were any links to working forks compatible with older gear ... That link above as it is presently ... issues/31530 ... lists the following as the fix, below - https://github.com/ytdl-org/youtube-dl/issues/31530#issuecom... Now my problem is I'm not running Win 13 or the latest l
Read the rest
inux distro but still I have the best up to date browser I've yet to find that runs on my old system ... and that link does nothing ... if I put the link in another it simply opens back at the top of the parent. I figure I could copy every recent file one by one from the git repo and play at fooling with my own, but since someone commenting on this topic actually compiled the given source - only to land some old 2021 problem - sigh. Now I have flipped though what I see in the above ... no fix info ... fucked and bye bye time. The next option touted as the fix sadly does not run on my old system, it could work with the online server but ... how long until ... It is of course easier for people like me who are no longer or were ever competent programmers, let alone being well versed in python, to pick some other program - I've been told such as IDM will handle youtube antics fine as well as being compatible with older systems, so it may well be worthwhile to purchase a copy. Oh well youtube-dl .. thanks for the fish.
In YouTube-DL Hosting Ban Paves the Way to Privatized Censorship
> /usr/bin/env: ‘python’: No such file or directory Your install is not configured properly. This is a googleable fix. (One example is to use `which python3` as part of your command https://stackoverflow.com/a/73610228) > ERROR: Unable to extract uploader id; This is a known bug and already has a fix but has not been packaged or released for youtube-dl but you can fix it yourself or use a different pacakge. https://github.com/ytdl-org/youtube-dl/issues/31530
In YouTube-DL Hosting Ban Paves the Way to Privatized Censorship
For the sake of testing, I just downloaded youtube-dl from Github [1]. I then tried to run the program, but it failed with: /usr/bin/env: ‘python’: No such file or directory Okay, the script can't deal with "python" vs "python3", whatever - I'll change the script's first line and move on. Next attempt: $ youtube-dl https://www.youtube.com/watch?v=5pV8WFvSNYE [youtube] 5pV8WFvSNYE: Downloading webpage ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug. Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. I knew I would get this error because I got it two weeks ago already. And considering that the version number is `2021.12.17` that looks suspiciously close to a dead project, or at le
Read the rest
ast for a project whose very description is "download videos from youtube.com or other video platforms". Edit: I went through the repo and found that this bug has been reported two months ago [2]. I understand that the project is not dead in the sense that they are still looking at bugs, but if a major feature is not working for two months now then I think it's reasonable for people's faith in the project's future to be shaken. [1] https://github.com/ytdl-org/youtube-dl#installation [2] https://github.com/ytdl-org/youtube-dl/issues/31530
In YouTube-DL Hosting Ban Paves the Way to Privatized Censorship

Showing the 15 most recent of 19 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.