TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Origins of the youtube-dl project

559 点作者 rg3超过 4 年前

13 条评论

greggman3超过 4 年前
I don&#x27;t know if this is related or not but back when Flickr was popular in like 2005 or 2006 my friends and I were uploading pictures of our events there (they&#x27;re all still there AFAIK. We&#x27;d upload them to either our own accounts or for certain events to a shared account. One shared account is here: <a href="https:&#x2F;&#x2F;www.flickr.com&#x2F;photos&#x2F;sourpower&#x2F;albums" rel="nofollow">https:&#x2F;&#x2F;www.flickr.com&#x2F;photos&#x2F;sourpower&#x2F;albums</a><p>I wanted copies of those pictures and the easiest way to get them was the write a tool to download them rather than have to coordinate with 3 to 15 friends and ask them to copy the images to a CD or USB stick or some other nonsense. Dropbox wasn&#x27;t a thing and not all my friends were tech heads that would want to setup FTP servers.<p>Flickr had also come out with an API. APIs for online services seemed kind of new at that point and Flickr was one of the first AFAIK.<p>So I wrote the app <a href="https:&#x2F;&#x2F;blog.greggman.com&#x2F;blog&#x2F;flickrdown&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.greggman.com&#x2F;blog&#x2F;flickrdown&#x2F;</a> and a few months later it was accused by other users of flickr of being solely for the purpose of downloading copywritten images. Not once did I ever use it for such a purpose nor, AFAIK did any of my friends. None of us had any interest in other people&#x27;s images on flickr, only shared images of mutually attended parties, bbq, picnics, events.<p>Those users reported the app to Flickr and the app was banned.<p>It was banned by the app&#x27;s id. That meant you could register your own app and then hack in your app&#x27;s id and still use it. IIRC I continued to use it to download pictures from our events but it always pissed me off they banned it. It also pissed me off because it wasn&#x27;t accessing anything you couldn&#x27;t just scrape for. The API made it easy to get a list of URLs, search for albums or people etc but you could easily write a script that just scraped the HTML to find all the same data. Didn&#x27;t matter, flickr didn&#x27;t budge.<p>It further pissed me off that over zealous flickr members accused me of lying about its purpose. Like many topics today, there is often absolutely nothing you can say that will convince someone else your intensions are not bad.
评论 #25053036 未加载
评论 #25053728 未加载
评论 #25057255 未加载
评论 #25050118 未加载
nzmsv超过 4 年前
Back when Udacity just launched with their first course (Thrun&#x27;s self driving car intro) I wanted to watch the videos on a big screen. I had a somewhat smart TV that could play files off a USB stick but did not have Internet access. Udacity hosted all their videos on YouTube at the time and there was no convenient way to download them. So I spent an afternoon hacking together a Chrome extension that would modify the Udacity website DOM and give me download links for the lectures (it had to be an extension to get around same origin restrictions). Udacity had some weird naming convention for their videos so I had to make some calls to their API as well as YouTube and correlate videos with titles. The YouTube part was &quot;influenced&quot; by youtube-dl. This was much faster than reverse engineering, even though I was writing new JavaScript and not using the original Python. Anyway, trivial stuff.<p>After watching the videos from my couch for a few days I decided to post a link to my extension on the Udacity message board... and it absolutely blew up! My dinky little extension had thousands of users all over the world seemingly overnight.<p>But the absolute highlight was getting an email from a student from Iran. Iran just blocked YouTube because of <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Innocence_of_Muslims" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Innocence_of_Muslims</a> and there was a whole group of students who could no longer participate in the course. Apparently they had some friends at a US university use my extension to download the videos and reupload to a VPS they ran. I was blown away - my quest to sit on a couch ended up accidentally helping fight censorship.<p>I maintained the extension until Udacity added a native video download feature and then took it down. But it was an interesting experience and definitely shaped my perception of fair use laws. They are important. People have way more legitimate uses for information than lawyers can imagine.
评论 #25052667 未加载
jchw超过 4 年前
Thanks for this. It is weird how long it’s been. I totally forgot that Wireshark was once called Ethereal.<p>I hope that the DMCA takedown issue can be resolved reasonably, but it’s starting to seem more and more like a move off of Github is overdue. Especially in a world where anyone can stand up a Gitea or Gitlab CE instance.
评论 #25051164 未加载
评论 #25048983 未加载
评论 #25048974 未加载
评论 #25048697 未加载
评论 #25051146 未加载
humford超过 4 年前
Been a longtime fan of YouTube-dl, so much better and faster than any alternative. I remember being in high school in a group project with some theater kids. They needed a ton of free stock footage from Vimeo and they were going through links one-by-one to download each video individually. I just compiled a list of the links, ran youtube-dl, and had it done in 5 minutes when they&#x27;d already wasted three hours on it.
wpietri超过 4 年前
What a wonderful little retrospective. It&#x27;s a nice walk down memory lane, and I really appreciate how clear and sensible his thinking was around handing off the project when the time was right.
AntiImperialist超过 4 年前
Wow, I did not know youtube-dl had existed for so long.<p>I remember coding my own YouTube downloader because of similar reasons. My internet connection was way too slow to stream videos, even at the lowest quality, so I&#x27;d make a list of videos, download them in the background the entire day and then watch it offline at the end of the day. When I finally discovered youtube-dl, I was relieved that I no longer had to keep maintaining my script... and it supported almost every other video website.<p>Also, I just realized that it can still be downloaded from the official website and updated using --update argument.
gman83超过 4 年前
Damn, freshmeat.net... I used to visit that site every day in the early 2000s, and I&#x27;d totally forgotten about it.
gspr超过 4 年前
What a wonderful writeup that touches on both the original author&#x27;s personal history, little technical tidbits, and so many ethical and societal aspects of computing!
vagrantJin超过 4 年前
Long live Youtube-dl.
saghul超过 4 年前
TIL the project was started by a fellow Spaniard! Very nice write up, kudos!
TeeMassive超过 4 年前
I&#x27;ve had a personal playlist of videos I maintained since 2008, a collection really, with multiple fads I once used to share with the various social circles I had during the last decade at college and university. But now more than half of the videos are gone due to the various ban episodes YouTube had (FU cancel culture, FU Carlos Maza). Fortunately with YTdl I can save at least half of what has been my good fairly big portion of my adult life.
Sektor超过 4 年前
Hey rg3 your link <a href="https:&#x2F;&#x2F;yt-dl.org&#x2F;supportedsites.html" rel="nofollow">https:&#x2F;&#x2F;yt-dl.org&#x2F;supportedsites.html</a> is broken. Great tool btw thanks for all your efforts.
评论 #25060803 未加载
kzrdude超过 4 年前
jwz also had his youtube downloader script out there - but that was apparently not the start of youtube dl