Socket
Socket
Sign inDemoInstall

poddl

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    poddl

Downloads podcasts from RSS feeds


Maintainers
1

Readme

poddl

poddl downloads podcasts from RSS feeds, both as a CLI tool and a Python library.

poddl attempts to achieve filesystem compatibility by ASCII-fying podcast titles using a combination of unidecode and character-stripping, so the titles you see may not be exactly the same as those given in the RSS feed.

Installation

Install via pip:

pip install poddl

CLI

poddl makes itself available as a CLI utility. For options, see poddl --help:

usage: poddl [-h] --url URL [--summary] [--destination DESTINATION]
             [--limit LIMIT]

A basic RSS podcast downloading script

optional arguments:
  -h, --help            show this help message and exit
  --url URL             The RSS feed URL
  --summary             Show a summary of available episodes
  --destination DESTINATION
                        Directory to save podcast files to
  --limit LIMIT         Limit the number of items retrieved

By default, podcasts are downloaded to ~/Downloads/poddl.

Library

To use as a library, include poddl.get:

from poddl import get

get('https://example.com/rss')

By default episodes are downloaded to ~/Downloads/poddl. To change this, set the destination:

from poddl import get

get('https://example.com/rss', destination='~/Documents/podcasts')

You can get a listing of the available podcasts without downloading them using summary:

from poddl import get

summary = get('https://example.com/rss', summary=True)

Here summary will be a list of podcast titles.

You can limit the number retrieved with limit:

from poddl import get

get('https://example.com/rss', summary=True, limit=20)

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc