this post was submitted on 14 Jun 2023
21 points (100.0% liked)
Free and Open Source Software
17931 readers
30 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I like that idea! Any chance you would be able to share the script or the general workflow?
Parent's is more complicated, but this simple script may be a good place to start. In this case, I follow a channel that posts new music videos for discovery. This automatically downloads (just the audio) using yt-dlp to a local directory. It could easily be modified to download the video (just change the -f flag). I run this with cron once a day.
https://gist.github.com/line72/ceef5402881d6d3ae732e7b7c9cbf01b
I just wrote down simplified versions of my scripts. Then I clicked the wrong button to exit the markdown preview and now it's all gone. I'll have to drink a beer now, sorry. If you have any specific questions, I'll answer them gladly.