HackerURLs

一次又一次被重新发现的经典。

同一个链接,相隔一年以上,一次又一次被人重新发现、再次冲上 Hacker News 首页。能经受住这种时间检验的,大多是值得一读再读的文章。每篇附中文标题,讨论最热的那些再加上中文导读和高赞评论翻译。

从名人堂开始
  • 4,700+篇经过时间检验的经典

Hall of fame

名人堂

在经典库里看全部精选

上首页次数最多、而且有中文导读的 30 篇。时间轴上每个黑点是一次上首页,空心点是一次没冲上去的投稿。

  1. 正在载入经典…

Archive

经典库

按第一次上首页的年份分布,点柱子筛选。

排序

    About

    这些经典是怎么挑出来的

    1. 01

      合并同一个链接

      读取 Hacker News 自 2006 年以来的全部链接投稿,把 http/https、www、跟踪参数等写法不同的同一篇文章合并成一条。

    2. 02

      只留经得起时间的

      同一链接至少两次拿到 50 分以上(约等于上首页),而且两次相隔一年以上;再由 AI 剔除状态页、产品首页和新闻事件。

    3. 03

      写导读、译评论

      上首页次数最多的 2,000 篇配上中文导读、"为什么经久不衰",并精选翻译 HN 高赞评论。导读由 AI 生成,可能有误。

    工具与资源rg3.github.io

    youtube-dl:开源的 YouTube 下载器

    YouTube-dl: Open-source YouTube downloader

    2次上首页
    2年跨度
    1,586累计得分
    490条评论

    2014 — 2016,它一次次回到首页

    黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。

    导读

    youtube-dl 是一个开源命令行视频下载工具,最初为下载 YouTube 视频而写,后来支持数百个视频网站。它能选择音视频格式、下载播放列表或整个频道、提取音频与元数据,并可跨平台运行;配合 ffmpeg 还能合并高分辨率视频和音频。

    为什么经久不衰:它把多站点视频下载做成稳定、可脚本化且长期高频维护的命令行工具,十多年后仍是同类工具中的经典。

    关键词 开源工具视频下载命令行youtube-dl

    HN 评论精选

    列举了它成为全能下载工具的核心功能。

    它之所以是“终极”工具:支持数百个服务而不只是 YouTube;能提取多种音频格式;可下载整个播放列表并支持批量操作;可配置音视频质量;能提取或构建元数据;跨平台。

    jtokoph查看英文原文

    Some of the things that make this the 'ultimate': - Supports hundreds of services, not just youtube [0] - Allows you to extract audio in multiple formats - Download entire playlists (and general batch support) - Configure video/audio quality - Extract/build metadata - Cross platform [0] https://rg3.github.io/youtube-dl/supportedsites.html

    强调 ffmpeg 的作用并给出常用命令。

    我用它很多年了,非常好。它不仅用于 YouTube,也支持很多其他视频托管站,甚至包括德国 ZDF、法国 Arte 等电视台。要充分利用它,应安装 ffmpeg;如果 ffmpeg 在 PATH 中,youtube-dl 会自动使用它,从而下载更高帧率和分辨率的 YouTube 视频(音视频分开存储,由 ffmpeg 合并),某些流媒体站也需要 ffmpeg。常用流程是:用 youtube-dl -F '<url>' 列出可用格式,再用 youtube-dl -f <视频格式>+<音频格式> '<url>' 下载;用 youtube-dl -U 自更新,因为它几乎每天更新。

    Kristine1975查看英文原文

    I've been using it for years now and it's great. Not only for Youtube videos, but also for a lot of other video hosters, up to and including TV stations such as the German ZDF or the French Arte. To fully use its features you should install ffmpeg though. Youtube-dl will automatically use it if it's in the PATH, and then can download Youtube videos with higher frame rates and resolutions (they store video and audio in separate files, and ffmpeg is used to mux both together). ffmpeg is also required to download from some streaming video hosters. For me it's essentially: youtube-dl -F '<url>' to get the list of available video and audio formats, followed by youtube-dl -f <video format>+<audio format> '<url>' and then wait for the download to complete. And youtube-dl -U to self-update youtube-dl (because it gets updated just about every day).

    作者回顾项目从 2006 年个人脚本到多站点社区项目的起源。

    很高兴我发起的项目能上 HN 首页。我记得大约 2006 年开始做它,当时用拨号上网,想重看喜欢的视频很难也很慢。试过的 Firefox Greasemonkey 脚本不能用,于是我决定用 Python 标准库 urllib2 写个新项目。做成命令行是因为我觉得它更适合批量下载,而且我没有写 GUI 的经验。第一版很简单,就是读取网页并提取视频 URL,没有对象或函数。后来我适配了几个其他网站并添加功能,衍生出 metacafe-dl 等项目。2008 年 Joe Barr(已故)在 Linux.com 写了篇文章后,它突然更受欢迎,人们开始要求更多功能和支持更多站点。于是 2008 年我重写了程序,以支持多个视频站点为目标,采用简单设计,这些设计大体沿用至今。我没有改名,因为怕失去已有的一点知名度;早该一开始就取别的名字,但没想到它会这么流行。

    rg3查看英文原文

    It's very nice to see a project I started reach the front page of HN. I remember starting the project around 2006. Back then, I had a dial-up connection and it wasn't easy for me to watch a video I liked a second time. It took ages. There were Greasemonkey scripts for Firefox that weren't working when I tried them, so I decided to start a new project in Python, using the standard urllib2. I made it command line because I thought it was a better approach for batch downloads and I had no experience writing GUI applications (and I still don't have much). The first version was a pretty simple script that read the webpages and extracted the video URL from them. No objects or functions, just the straight work. I adapted the code for a few other websites and started adding some more features, giving birth to metacafe-dl and other projects. The raise in popularity came in 2008, when Joe Barr (RIP) wrote an article about it for Linux.com.[1] It suddenly became much more popular and people started to request more features and support for many more sites. So in 2008 the program was rewritten from scratch with support multiple video sites in mind, using a simple design (with some defects that I regret, but hey it works anyway!) that more or less survives until now. Naturally, I didn't change the name of the program. It would lose the bit of popularity it had. I should have named it something else from the start, but I didn't expect it to be so popular. One of these days we're going to be sued for trademark infringement. In 2011 I stepped down as the maintainer due to lack of time, and the project is since then maintained by the amazing youtube-dl team which I always take an opportunity to thank for their great work.[2] The way I did this is simply by giving push access to my repository in Github. It's the best thing I did for the project bar none. Philipp Hagemeister[3] has been the head of the maintainers since then, but the second contributor, for example, was Filippo Valsorda[4], of Heartbleed tester[5] fame and now working for Cloudflare. [1] http://archive09.linux.com/articles/114161 [2] http://rg3.name/201408141628.html [3] https://github.com/phihag [4] https://github.com/filosottile [5] https://filippo.io/Heartbleed/

    指出缺乏 SEO 让普通用户搜不到它,反而被垃圾软件包围。

    这类软件的悲剧在于:尽管它完全按宣传工作、简单且功能丰富,但因为它是个安静的开源项目,没有做任何 SEO 操纵,普通用户搜索“把 YouTube 保存到硬盘”“下载 YouTube 视频”之类时,它永远不会出现在第一页。仅仅因为家人想保存一个视频,我就不得不从他们电脑上清除大量垃圾软件,数量多得离谱。

    guycook查看英文原文

    The tragedy of this software (and many like it) is that despite working exactly as advertised, easily and with a lot of features, because it's a quiet open source project without any SEO rigging it will never appear in page 1 of any searches by laymen trying to download videos ("save youtube to hard drive", "download youtube videos" et al). The amount of crapware I've had to remove from family member's PCs just because they wanted to save a video is ridiculous.

    历次讨论

    同类还值得读

    1. 直接在浏览器中启动 Linux 内核

      Boot a linux kernel right inside your browser.

      Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。

      工具与资源上首页 5 次 · 2011–2025bellard.org
    2. Hacker News 未公开功能与行为清单(2018)

      A List of Hacker News's Undocumented Features and Behaviors (2018)

      数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。

      工具与资源上首页 5 次 · 2019–2025github.com
    3. MapSCII:在终端中用盲文和 ASCII 渲染地图

      MapSCII – Braille and ASCII map renderer for the console

      MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。

      工具与资源上首页 5 次 · 2017–2025github.com
    4. 顶尖大学的免费在线课程

      Free Online Courses from Top Universities

      Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。

      工具与资源上首页 5 次 · 2010–2022openculture.com
    5. 淘气字符串:容易引发用户输入问题的字符串清单

      Naughty Strings: A list of strings likely to cause issues as user-input data

      一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。

      工具与资源上首页 4 次 · 2015–2020github.com

    打赏支持

    打赏二维码

    觉得有用,请作者喝杯咖啡。

    WeChat

    关注向阳乔木

    微信公众号「向阳乔木推荐看」

    微信公众号「向阳乔木推荐看」二维码

    微信扫一扫;在微信里打开本页时,长按二维码识别。