Skip to main content

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

Release files for getpodcast 1.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for getpodcast 1.0.11
File Interpreter ABI Platform
getpodcast-1.0.11-py3-none-any.whl Python 3 none any Details

Release files / getpodcast-1.0.11-py3-none-any.whl

Download URL getpodcast-1.0.11-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6fda9625f80da697c767bb07347faa5e3f7331773de904c396bb0f40c1226a4
BLAKE2b-256 checksum
How to use checksums
ff7e452f63280f2c15aef0e7a74ea32a0f26f14722c47fb187d65dc758c45fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.0.11 This release

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page