Downloads podcasts from RSS feeds
Project description
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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poddl-0.3.0.tar.gz.
File metadata
- Download URL: poddl-0.3.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9c01ba40ecd049f9b296a3e6cd2759c806c8f32efc10047471a8bc4ea6f25b5
|
|
| MD5 |
f70975e99182a7fadcaff308e0f91eac
|
|
| BLAKE2b-256 |
f78f9214acbd9762a5a670e8b340f9746b66e7a543c8db42bce672a92e36979f
|
File details
Details for the file poddl-0.3.0-py3-none-any.whl.
File metadata
- Download URL: poddl-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
700f1bb936627ef3cc7e1727ef053a0d50c5100c292e173f0482f99967a3501d
|
|
| MD5 |
d2b88896590357fcb77adbab5ecd2562
|
|
| BLAKE2b-256 |
5910978c3dfc79ee2f4b52a30043f8eb2e01e019806acc40e8c1bbf66ab1d8ba
|