A simple script to download videos/podcasts from YouTube or RSS feeds.
Behind the scene it uses yt-dlp (https://github.com/yt-dlp/yt-dlp) and Python's feedparser.
Connect the home interface to download files to the home directory (optional)
sudo snap connect podcast-dl-gael:home
YouTube videos (or any other services supported by yt-dlp)
sudo vi /var/snap/podcast-dl-gael/common/podcast-dl/youtube-dl.conf.d/youtube-dl.url
# Jay Swanson
https://www.youtube.com/user/Cadelfwch/videos
# SmarterEveryDay
https://www.youtube.com/user/destinws2/videos
sudo vi /var/snap/podcast-dl-gael/common/podcast-dl/youtube-dl.conf.d/youtube-dl.conf
RSS feeds
sudo vi /var/snap/podcast-dl-gael/common/podcast-dl/rss-dl.conf.d/rss-dl.url
# Format: URL [DIRECTORY]
# The optional DIRECTORY allows you to the save your files in a specific directory
# Late Night Linux - All Episodes Feed
https://latenightlinux.com/feeds/ /root/storage/podcasts/LateNightLinux
Scheduled downloads
ls -lh /var/snap/podcast-dl-gael/common/podcast-dl/podcasts/
Manually scheduling or downloading files
To download files at a different time, use a systemd timer (or equivalent) to run this command
sudo podcast-dl-gael.download-now
This command can also be run from the command line to download files manually.
Skip YouTube videos
To mark videos as already downloaded, run the youtube-dl-skip-download command. Depending on the number of videos, this could take a long time.
If you don't want to watch (again) the 1300+ first vlogs of Jay Swanson but would like to download the future ones, run this command
sudo podcast-dl-gael.youtube-dl-skip-download https://www.youtube.com/user/Cadelfwch/videos
Skip RSS feeds
To mark RSS feeds as already downloaded, run the rss-skip-download command.
If you don't want to listen (again) to all the Late Night Linux shows but would like to download the future ones, run this command
sudo podcast-dl-gael.rss-skip-download https://latenightlinux.com/feeds/
Revisions
2024-11-06
2024-10-05
2024-09-21
2024-09-17
2024-08-06
2024-05-22
2024-04-26
2024-03-28
2024-01-31
2023-10-12
2023-10-07
2023-09-06
2023-02-28
2023-02-23
2022-04-01
2021-03-20
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap is available for Red Hat Enterprise Linux (RHEL) 8 and RHEL 7, from the 7.6 release onward.
The packages for RHEL 7, RHEL 8, and RHEL 9 are in each distribution’s respective Extra Packages for Enterprise Linux (EPEL) repository. The instructions for adding this repository diverge slightly between RHEL 7, RHEL 8 and RHEL 9, which is why they’re listed separately below.
The EPEL repository can be added to RHEL 9 with the following command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
sudo dnf upgrade
The EPEL repository can be added to RHEL 8 with the following command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf upgrade
The EPEL repository can be added to RHEL 7 with the following command:
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Adding the optional and extras repositories is also recommended:
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
sudo yum update
Snap can now be installed as follows:
sudo yum install snapd
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap
and /snap
:
sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.
To install podcast-dl-gael, simply use the following command:
sudo snap install podcast-dl-gael
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.
Get to know Canonical, the company behind the products.
The world's favourite Linux OS for servers, desktops and IoT.
One subscription for security maintenance, support, FIPS and other compliance certifications.
The app store for Linux: secure packages and ultra-reliable updates.
A pure-container hypervisor. Run system containers and VMs at scale.
Build a bare metal cloud with super fast server provisioning.
Upgrades, maintenance, support, and fully managed options for long-term, low-cost infra.
Software-defined storage that lowers your total cost of ownership.
App portability for K8s on VMware, Amazon, Azure, Google, Oracle, IBM and bare metal.
Deploy, integrate and manage applications at any scale, on any infrastructure.
Stream Android applications to any device.
The software collaboration platform behind Ubuntu.
Optimised Ubuntu for public clouds.
Spin up Ubuntu VMs on Windows, Mac and Linux.
Control and customise your cloud instances.
Systems management and security patching for Ubuntu.
Simplify and standardise complex network configuration.
AI and MLOps at any scale, on any cloud.
Deploy a fully functional cloud in minutes.