Skip to main content

No project description provided

Project description

podcastbackup

Back up podcasts with metadata from a feed URL. Progress indicator and resuming. Hacky, only really tested against FeedBurner/libsyn feeds.

When you run it, you get a directory named after the podcast with a list of mp3 files and metadata.json files.

tree /mnt/backups/podcast/
/mnt/backups/podcast/
├── bestshowever1.mp3.metadata.json
├── bestshowever1.mp3
├── bestshowever2.mp3.metadata.json
├── bestshowever2.mp3
├── bestshowever3.mp3.metadata.json
├── bestshowever3.mp3

The metadata.json files look like:

{
    "text": "This is probably the best show yet!",
    "href": "http://bestshowever.cachefly.net/bestshowever/bestshowever42.mp3",
    "title": "Best Show Ever 42: All The Answers"
}

In action

Screenshot of podcastbackup downloading

Usage

$ pip install podcastbackup
usage: podcastbackup [-h] -f FEED [-o OUTPUT] [-t TYPE] [-i FILTER]

Helps you back up your podcasts.

optional arguments:
  -h, --help            show this help message and exit
  -f FEED, --feed FEED  RSS feed url
  -o OUTPUT, --output OUTPUT
                        Location for downloaded items
  -t TYPE, --type TYPE  File extension to look for in feed items
  -i FILTER, --filter FILTER
                        Apply a regular expression filter on titles

Example:

$ podcastbackup -f http://feeds.feedburner.com/se-radio

Works with Python 2 and 3.

Ignores file

Drop a file named .ignores into the download directory of a particular podcast to skip downloading particular episodes.

Useful for skipping over broken / missing episodes. An example of the syntax is in the .ignores file with this repo.

Project details


Download files

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

Source Distribution

podcastbackup-0.1.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

podcastbackup-0.1.3-py2-none-any.whl (6.6 kB view details)

Uploaded Python 2

File details

Details for the file podcastbackup-0.1.3.tar.gz.

File metadata

  • Download URL: podcastbackup-0.1.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10

File hashes

Hashes for podcastbackup-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d162386f538de9eeaeb975d0fe88c12530cfe7e6428eca5a4ef64f08f8b9835b
MD5 630f680d3d5b925869d590f716725106
BLAKE2b-256 84e4cee65a6bb2b5203c8631a1cc9ca17341a6a219e20c7b11832199e7e28a4b

See more details on using hashes here.

File details

Details for the file podcastbackup-0.1.3-py2-none-any.whl.

File metadata

  • Download URL: podcastbackup-0.1.3-py2-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10

File hashes

Hashes for podcastbackup-0.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 05585e67bbb6a7c40604b31b223fceffa04550768ea7c5ce5d6f3033d0eeca79
MD5 199044be291db31682ab8fb1239c2619
BLAKE2b-256 769af4d0fd7d5824cef626a7a94223678b2bf67b7d417ad227e4644cc71d25d8

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