Skip to content

WooodHead/mercury-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mercury-Parser

This is a simple API Client for the Mercury 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

✨🍰✨

About

API Wrapper for Mercury Web Parser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages