this post was submitted on 02 Feb 2024
1083 points (98.0% liked)
Technology
59398 readers
2555 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's a Python command line program, so yes. I use Termux (a Linux terminal emulator), and I installed
yt-dlp
usingpip
, a package manager for Python. I also haveffmpeg
for command line video editing on my phone.I have it setup such that when I click "Share" on a URL from Firefox or YouTube, and I choose Termux as the receiving app, I am presented with a menu that let's me choose if I want the video saved to a normal folder or a hidden folder (for reasons), or if I want to download just the audio and save it to an MP3. yt-dlp can download from much more than just YouTube.
The script is just a bash script with a specific name in a specific folder that Termux knows to invoke when sent a URL. You can do anything you want with such a script.
Only get Termux from F-Droid or Droid-ify. Not from the Play Store. The Play Store version is way out of date.
Like the other person said, Newpipe can also download from YouTube. It's a YouTube front-end that scrapes the public HTML website for YouTube. You can also download that from F-Droid or Droid-ify.
Oh, and another person mentioned Seal, which is a yt-dlp front-end for Android. It's pretty great! I just installed it. As usual, it's on F-Droid and Droid-ify.