Skip to main content

Download podcast

Project description

Simplify downloading podcasts with getpodcast

Installation

sudo python3 -m pip install getpodcast

Getting started

Create a new file mypodcast.py:

#! /usr/bin/env python3

import getpodcast

opt = getpodcast.parseArguments_AsOptions(
    date_from='2016-07-07',
    root_dir='./podcast')

podcasts = {
    "TPB" : "http://tpbpodcast.libsyn.com/rss"
}

getpodcast.getpodcast(podcasts, "", opt)

To download podcasts:

python3 mypodcast.py --run

More help:

python3 mypodcast.py --help

Setup cronjob to download once a day:

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.5-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for getpodcast-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f7916e452d72d356ab99f7daa13abfe897e60fa95cad396712357641e436e30c
MD5 b0ef318700558bd05b6d15963fc49632
BLAKE2b-256 6e29f82909673e15e5129a0cc477c8a3403a88ad04af9866e9d4ef41d6549a4e

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