Metadata-Version: 2.1
Name: overcast-parser
Version: 0.0.2
Summary: Overcast podcast link parser especially for pythonista.
Home-page: https://github.com/hbmartin/overcast_parser
Author: Harold Martin
Author-email: harold.martin@gmail.com
License: MIT
Project-URL: Bug Reports, https://github.com/hbmartin/overcast_parser/issues
Keywords: podcast,parser,rss,feed,pythonista,overcast,shortcuts,ios
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: iOS
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: podcastparser
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: pythonista-stubs ; extra == 'dev'

# Overcast URL to podcast information
![PyPI](https://img.shields.io/pypi/v/overcast_parser.svg)
![GitHub issues](https://img.shields.io/github/issues-raw/hbmartin/overcast_parser.svg)
![Black](https://img.shields.io/badge/code%20style-black-000000.svg)
[![Build Status](https://travis-ci.com/hbmartin/overcast_parser.svg?branch=master)](https://travis-ci.com/hbmartin/overcast_parser)

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](https://github.com/ywangd/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](https://github.com/wotaen/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](https://github.com/PyCQA/pyflakes) and makes strict use of [Black](https://github.com/ambv/black) for code formatting.

## Authors

* [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail


## License

[MIT](LICENSE.txt)

