Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
getpodcast-1.0.5-py3-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel any Dec 11, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page