TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ytdl-webserver: Webserver for downloading YouTube videos

129 pointsby setraover 6 years ago

14 comments

bklaasenover 6 years ago
I use Android and have Termux[1] installed. If you create a shell script named &#x27;~&#x2F;bin&#x2F;termux-url-opener&#x27; and share URLs to Termux, it&#x27;ll invoke that script. Here&#x27;s the contents of mine:<p>``` #!&#x2F;bin&#x2F;bash<p>pip install --upgrade youtube-dl cd storage&#x2F;movies youtube-dl &quot;${1}&quot; ```<p>Works a treat!<p>[1] Termux (Terminal emulator with packages) - <a href="https:&#x2F;&#x2F;f-droid.org&#x2F;app&#x2F;com.termux" rel="nofollow">https:&#x2F;&#x2F;f-droid.org&#x2F;app&#x2F;com.termux</a>, <a href="https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=com.termux" rel="nofollow">https:&#x2F;&#x2F;play.google.com&#x2F;store&#x2F;apps&#x2F;details?id=com.termux</a>
评论 #18047341 未加载
评论 #18048277 未加载
评论 #18047338 未加载
评论 #18048776 未加载
frou_dhover 6 years ago
It&#x27;s not as slickly packaged, but I made a webserver that turns YouTube channels into proper RSS subscribe-able audio podcasts:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;frou&#x2F;yt2pod" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;frou&#x2F;yt2pod</a><p>If you find yourself often having your phone in your pocket with the screen blazing, just to be able to listen to YT content, you might like it.<p>(it&#x27;s on the todo list to Dockerize it)
评论 #18049215 未加载
评论 #18047757 未加载
stingraycharlesover 6 years ago
In my experience, YouTube-dl needs to be updated quite frequently, as YouTube changes their design.<p>How is this handled here? Is periodically kill &#x2F; restart the container enough?
评论 #18048195 未加载
评论 #18046600 未加载
评论 #18046637 未加载
评论 #18052053 未加载
评论 #18046656 未加载
pishpashover 6 years ago
The more tools built around youtube-dl to make it usable by your grandma, the more likely it gets shut down, like Popcorn Time.
jimktrains2over 6 years ago
I was just thinking the other day of writing a small utility to download a YouTube video and metadata, stuff the metadata in a database, and be able to have a local, searchable copy of videos and channels I&#x27;d like to have for a while -- I don&#x27;t trust they&#x27;ll be around forever.<p>I was thinking it could be better if the utility would be more useful if it integrated with mythtv, but I might start as a standalone.
评论 #18048063 未加载
评论 #18047041 未加载
kekubover 6 years ago
Actually Apple provides a way to either download videos or audio directly on the device through Siri Shortcuts. The integration is great: Just open the share sheet in Safari or the YouTube app and run this shortcut: <a href="https:&#x2F;&#x2F;www.icloud.com&#x2F;shortcuts&#x2F;48d3103eafc04c7098094794e0638ef7" rel="nofollow">https:&#x2F;&#x2F;www.icloud.com&#x2F;shortcuts&#x2F;48d3103eafc04c7098094794e06...</a> Add a convert media step if you want audio. I think I got it from this reddit thread: <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;workflow&#x2F;comments&#x2F;2p0vga&#x2F;workflow_download_youtube_videos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;workflow&#x2F;comments&#x2F;2p0vga&#x2F;workflow_d...</a>
sondhover 6 years ago
Just yesterday I built an Android app to cast audio-only (ogg format) from YouTube to Chromecast. Had to do it because:<p>1. Baby needs her white noise to sleep<p>2. No other sites have those &quot;8 hours womb sounds&quot; as good as YouTube<p>3. The YouTube app refuses to cast to Google Home mini<p>Came across ydls[1] which uses youtube-dl and ffmpeg to download then transcode media on-the-fly. It&#x27;s not very effective but works great! We no longer have to turn on the TV in our baby room. Check out the source code[2] if you are also a new parent.<p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;wader&#x2F;ydls" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;wader&#x2F;ydls</a><p>2: <a href="https:&#x2F;&#x2F;github.com&#x2F;daohoangson&#x2F;android-ydls" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;daohoangson&#x2F;android-ydls</a>
评论 #18049188 未加载
superasnover 6 years ago
Is there a way to download Netflix videos too? My reason is I just can&#x27;t watch anything at less than 1.5X speed nowadays and Netflix has no such option on mobile (there is a chrome extension though). Any ideas how to do either (dl or increase playback speed on mobile)
评论 #18048110 未加载
评论 #18048339 未加载
评论 #18050051 未加载
评论 #18048013 未加载
dammover 6 years ago
Meh; nodejs that uses youtube-dl frontend? why can&#x27;t I just use youtube-dl?
评论 #18048219 未加载
Walkmanover 6 years ago
I made the same thing for command line: <a href="https:&#x2F;&#x2F;github.com&#x2F;kissgyorgy&#x2F;interactive-youtube-dl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kissgyorgy&#x2F;interactive-youtube-dl</a>
jnainaover 6 years ago
built a simple MacOS Safari extension that sends the current url to my server, which then runs a simple script to download using youtube-dl. I then use my iPad to view the videos using the nPlayer which can read NFS shares. very useful for downloading and viewing videos from variety of &quot;alternate&quot; video sites
tlrobinsonover 6 years ago
Does this download to the client or server? The latter would be useful on a NAS &#x2F; Plex box.
hgasimovover 6 years ago
Is downloading youtube videos legal?
评论 #18046922 未加载
评论 #18047068 未加载
评论 #18047781 未加载
评论 #18047639 未加载
评论 #18047354 未加载
grezqlover 6 years ago
-deleted link- may be a DMCA violation