Skip to main content

Download podcast

Project description

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


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

getpodcast-1.0.9-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file getpodcast-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: getpodcast-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for getpodcast-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7f75d37b48a8a5ce209fda00537ea70ae33779ffb18ae4e51fafb6bae598504d
MD5 4aa332004b8e7d850f629d39ebf9720a
BLAKE2b-256 8ae61d693078900d2f5bbbed4d9a97750511558c577b0df2a2671de8dbd9f0d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page