Skip to main content

Download podcast

Project description

Summary

Simplify downloading podcasts with getpodcast

Installation

  • Linux:

    $ python3 -m pip install --user getpodcast
  • Windows:

    > py -3 -m pip install --user getpodcast

Getting started

  • Create a new file mypodcast.py:

    #! /usr/bin/env python3
    
    import getpodcast
    
    opt = getpodcast.options(
        date_from='2019-07-07',
        root_dir='./podcast')
    
    podcasts = {
        "SGU": "https://feed.theskepticsguide.org/feed/sgu"
    }
    
    getpodcast.getpodcast(podcasts, opt)
  • Download podcasts:

    python3 mypodcast.py --run
  • More help:

    python3 mypodcast.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.6-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: getpodcast-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for getpodcast-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 14f372fda5cd383f65c9996525719d914719739c1ba6e92d14e14a49b231504d
MD5 7a8a7da1a9240f26f76179a5801df2c8
BLAKE2b-256 3b14f00c1b005057cd90d78b3d32631941fc8ca8e36b536e6c62026c96378612

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