Skip to main content

Overcast podcast link parser especially for pythonista.

Project description

Overcast URL to podcast information

PyPI Lint Ruff Code style: black Checked with pytype Versions twitter

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 i.e. 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, feed_url) = parser.parse_overcast(data)

Shortcut

demo.py is meant to be used from either the share extension or from an iOS Shortcut. (Note that due to Pythonista limitations share extension cannot call a script in iCloud.)

You can download a shortcut here or create one like: shortcut

Where the final URL block is like (adjusted for your path or removing root=icloud)

pythonista3://overcast_parser/demo.py?action=run&root=icloud&args=URL Encoded Text

Built With

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

License

MIT

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

overcast_parser-0.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

overcast_parser-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file overcast_parser-0.1.0.tar.gz.

File metadata

  • Download URL: overcast_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for overcast_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 468cc4ab3b873b29e06adf1ded857bc707cbff5364bccd03dfbebd37f9f90a00
MD5 3e942905acc79c908413b5ffeccfd57d
BLAKE2b-256 3cc0f3866e109cc1d20e4174479deb597032589584999592eefeb70f1e34433c

See more details on using hashes here.

File details

Details for the file overcast_parser-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for overcast_parser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9a16f723f888470b3457cb88c3ead8400d5dd7c3d99494df08f8b412f5e448
MD5 9d57432904fa253802e10f8f807a1b94
BLAKE2b-256 4d4c55db3ade3f953da8d23dd6f1f14657ca82127a99d469da91647bbd6eb174

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