Download podcast
Project description
Documentation: https://fholmer.gitlab.io/getpodcast
Source code: https://gitlab.com/fholmer/getpodcast
License: MIT
Summary
Simplify downloading podcasts with getpodcast
Features
No database or caching backend. RSS items are instead compared to file name, file size and file timestamp
Configuration and hooks are stored in a single python file, which is also executable
Installation
Linux:
$ python3 -m pip install --user getpodcast
Windows:
> py -3 -m pip install --user getpodcast
Usage
Create a new file mypodcasts.py:
#! /usr/bin/env python3
import getpodcast
opt = getpodcast.options(
date_from='2021-01-01',
root_dir='./podcast')
podcasts = {
"SGU": "https://feed.theskepticsguide.org/feed/sgu"
}
getpodcast.getpodcast(podcasts, opt)
Download podcasts:
python3 mypodcasts.py --run
More help:
python3 mypodcasts.py --help
Setup cronjob to download once a day:
$ crontab -e
0 19 * * * /usr/bin/python3 /home/myuser/mypodcasts.py --quiet --onlynew --run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for getpodcast-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6fda9625f80da697c767bb07347faa5e3f7331773de904c396bb0f40c1226a4 |
|
MD5 | 6a1f243e8927b6eee25924d1a781fd30 |
|
BLAKE2b-256 | ff7e452f63280f2c15aef0e7a74ea32a0f26f14722c47fb187d65dc758c45fec |