Overcast podcast link parser especially for pythonista.
Project description
Overcast URL to podcast information
Python library to obtain RSS feed URL from Overcast link, built especially for Pythonista
Installation / Upgrade
This can be installed one of two ways:
First, it can be installed directly in Pythonista with StaSh
pip install overcast_parser
Alternately, you can copy this entire repo to Pythonista and start immediately editing demo.py. This can be done either with a git tool in Pythonista or, on your Mac, copying this to the Pythonista3 iCloud directory.
Usage
See demo.py for full pythonista script
from overcast_parser.OvercastParser import OvercastParser
parser = OvercastParser()
data = requests.get(overcast_url).text
(itunes_id, stream_url, overcast_id, title) = parser.parse_overcast(data)
Built With
- itunes_podcast_rss - obtain RSS feed URL from iTunes link
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Planned improvements
- Proper error catching / throwing
- Consistent API between Overcast parsing, iTunes parsing, and RSS parsing
Code Formatting
This project is linted with pyflakes and makes strict use of Black for code formatting.
Authors
- Harold Martin - harold.martin at gmail
License
Project details
Release history Release notifications | RSS feed
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
Hashes for overcast_parser-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca967b2cc7e5e21bad5fb7b7f30ed33c027782a8a695f59fce626420497b7411 |
|
MD5 | 92dba9ab7ab19d19ac867f87a34cb511 |
|
BLAKE2b-256 | 5eba622bae823a9c2d8de7549d56daf61cc173746095c9fd94d147aa42d41586 |