kennethreitz / Mercury Parser
Licence: mit
API Wrapper for Mercury Web Parser.
Stars: ✭ 62
Programming Languages
python
139335 projects - #7 most used programming language
Mercury-Parser
This is a simple API Client for the Mercury Web Parser <https://mercury.postlight.com/web-parser/>
_.
Example Usage
::
from mercury_parser import ParserAPI
mercury = ParserAPI(api_key='YOUR API KEY')
p = mercury.parse('https://some-url')
# Available attributes:
p.title
p.content
p.date_published
p.lead_image_url
p.dek
p.url
p.domain
p.excerpt
p.word_count
p.direction
p.total_pages
p.rendered_pages
p.next_page_url
That's basically it, other than p.next()
.
Installation
::
$ pip install mercury-parser
✨🍰✨
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].