8 ms·
I'm very scared by this. youtube-dl needs somewhat frequent updates as Google moves the youtube codebase around. I'm worried that the RIAA's next move, now that
by jordigh 6y ago
I'm very scared by this. youtube-dl needs somewhat frequent updates as Google moves the youtube codebase around. I'm worried that the RIAA's next move, now that it's starting to get inconvenient to get youtube-dl, will be to make Youtube change in some way to make existing copies of youtube-dl no longer work.
youtube-dl has been my primary way of getting videos since I learned about it. If the RIAA manages to kill it, my ability to partake in culture will be severely limited.
- crazygringo 6y agoI'm actually curious, when you run "youtube-dl --update" where does it update from? What domain? Trying it now results in: ERROR: can't find the current version. Please try again later. I'm unclear if it had always updated itself from GitHub or elsewhere.
- oefrha 6y ago$ rg 'UPDATE_URL|VERSION_URL' youtube_dl/update.py 35: UPDATE_URL = 'https://yt-dl.org/update/' 36: VERSION_URL = UPDATE_URL + 'LATEST_VERSION' 37: JSON_URL = UPDATE_URL + 'versions.json' 46: newversion = opener.open(VERSION_URL).read().decode('utf-8').strip() $ curl -IL https://yt-dl.org/update/LATEST_VERSION HTTP/1.1 302 Found Date: Fri, 23 Oct 2020 20:15:04 GMT Server: Apache/2.2.15 (CentOS) Location: https://ytdl-org.github.io/youtube-dl/update/LATEST_VERSION Connection: close Content-Type: text/html; charset=iso-8859-1 HTTP/2 404 content-type: text/html; charset=utf-8 server: GitHub.com etag: "5f777b31-239b" content-security-policy: default-src 'none'; style-src 'unsafe-inline'; img-src data:; connect-src 'self' x-github-request-id: 170E:2B71:1A0B5DC:1B8177E:5F933973 accept-ranges: bytes date: Fri, 23 Oct 2020 20:15:04 GMT via: 1.1 varnish age: 85 x-served-by: cache-hnd18722-HND x-cache: HIT x-cache-hits: 1 x-timer: S1603484104.479172,VS0,VE0 vary: Accept-Encoding x-fastly-request-id: a7128dab84232184052e51f07eb6263f5c88ab7e content-length: 9115
- crazygringo 6y agoThank you! Well at least if they can hold onto their domain, and then host development somewhere, they'll maintain the ability to redirect updates to a new location without people having to manually reinstall.
- ss64 6y agohttps://ytdl-org.github.io https://ytdl-org.github.io is currently 404
- Macha 6y agoRight, but the client is loading "https://yt-dl.org https://yt-dl.org", which currently does a 302 to https://ytdl-org.github.io https://ytdl-org.github.io but could be updated to point elsewhere even if github is uncooperative.
- junon 6y agoWhat is `rg`? I like its output better than grep's.
- stalled 6y agohttps://github.com/BurntSushi/ripgrep https://github.com/BurntSushi/ripgrep
- deleted 6y ago[deleted]
- ivanche 6y agoIt's ripgrep https://github.com/BurntSushi/ripgrep https://github.com/BurntSushi/ripgrep
- Asooka 6y agoripgrep. It's a bit faster and automatically ignores files in .gitignore etc. Very handy.
- petdance 6y agoIt's one of a number of greplike tools out there. Here's a comparison chart: https://beyondgrep.com/feature-comparison/ https://beyondgrep.com/feature-comparison/ If you're looking for other alternative shell tools, take a look at https://altbox.dev/ https://altbox.dev/
- nsgi 6y agoDo you have some sort of RMS-style setup? If so, I'm curious about your reasons for that and why mainstream browsers aren't an option for you
- pengaru 6y agoNot OP, but I personally use youtube-dl to retrieve videos on a remote server accessed via ssh, which then get downloaded slowly over a low bandwidth link for offline viewing at a later time. They may or may not get reencoded using the ffmpeg integration before retrieving as well. YouTube's web interface is basically useless for me on a slow link, not to mention it's incredibly obnoxious with all its recommendations and other unmanagable propaganda delivery. Youtube-dl's ability to retrieve titles and descriptions without showing me anything else and before retrieving any video content alone make youtube's opaque hashed URLs usable for me.
- _whiteCaps_ 6y ago> YouTube's web interface is basically useless for me on a slow link I've never used youtube-dl. How do you find the videos to download?
- pengaru 6y agoYoutube links are shared everywhere, including here on HN. I also have a small collection of youtube channels bookmarked at their /videos URL, which at least doesn't try play any video and just gives a grid of thumbnails. Occasionally I'll visit those to discover new videos from the creators I'm interested in. This already consumes more time watching youtube content than I care to admit.
- kzrdude 6y agoYou could look into newpipe, an alternate youtube player for Android. Or look at RSS feeds for the channels you want to follow.
- agency 6y ago
- Drdrdrq 6y agoI think you have it backwards. Google is very much on the same side as RIAA in this case. Youtube-dl is simply too convenient for avoiding the ads.
- jdashg 6y agoDoes your ad blocker not already remove the ads?
- _jjkk 6y agoIf google et al. could spin a legal case against adblockers, they would. The strategy here is just to use the legal bludgeon whenever it's possible.
- pipythonmc 6y agouBlock Origin blocks youtube ads and is still on the chrome web store. Is it really that hard for google to take it down?
- _jjkk 6y agoIMO there's a risk of upsetting the Chrome monopoly and driving users away if they do it in such a heavy handed way. Also, they would either have to completely neuter their Extensions, or else constantly battle people submitting new adblockers in the same spirit as uBlock. But if every browser slowly adopts Chromium engine (the worrying trend), then they can make a move against adblockers and competing browsers would have to scramble to remake a competing browser engine to do anything about it.
- Drdrdrq 6y agoIt won't be able to once Youtube embeds ads in the videos (which is step 2).
- iameli 6y agoI dunno. Every Youtuber I know makes use of Youtube-dl (or related projects) extensively because many of them don't maintain archives of their own content and Youtube's built-in tools for downloading stuff back from them are terrible.
- elorant 6y agoComments like this in here seem out of place. We're a community of hackers. Just read the source and figure out how it downloads the videos. Next time YT changes something it'd probably be some query string in the url. It's not rocket science to download stuff from video sites.
- pmoriarty 6y agoNot only do you have to figure out the URLs from the source, but you have to assemble all the parts. Youtube's website changes all the time, too, so you'll have to constantly re-read the source and adapt your downloader to it (essentially what youtube-dl does). It may not be rocket science, but it's not trivial either, and not every developer on HN is a web developer or has any interest (or time) to become one.
- aeyes 6y agoTo restore your ability to partake in culture, you can use JDownloader. It is universal and can download from almost any media site.
- Wowfunhappy 6y agoCan it download from Youtube over the command line?
- aeyes 6y agoNo, it's a GUI tool. Afaik you can also run it as a daemon with a web interface.
- glenneroo 6y agojdownloader.org or .com? The former throws a FILE_NOT_FOUND exception for the Windows version and can't access the SVN, the latter looks a bit sketchy and has no code available, not that it's a prerequisite, just figured HNers would offer up the open-source version first ;)
- aeyes 6y agojdownloader.org It's open source but they use SVN so you need an SVN client to actually see the code because they have no browsable repo tool. You can find some mirrors of the code on GitHub, for example: https://github.com/mirror/jdownloader https://github.com/mirror/jdownloader
- glenneroo 6y agoCheers! For anyone else looking for the Windows build, here is the link to jDownloader2 builds (which I was only able to find via the forums): https://jdownloader.org/jdownloader2 https://jdownloader.org/jdownloader2
- akalsz 6y agoAn alternative: https://github.com/soimort/you-get https://github.com/soimort/you-get
- backspace_ 6y agoThank you