Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 645 Bytes

File metadata and controls

34 lines (27 loc) · 645 Bytes

Python 3 Mercury web browser API

A small script that performs a simple connection to Mercury Web Parser.

Usage:

from mercury_parser3 import MercuryParser

parser = MercuryParser("<your api key>")
page = parser.parse("http://example.com/")
print(page.title)

Available Attributes:

  • content
  • date_published
  • dek
  • direction
  • domain
  • excerpt
  • lead_image_url
  • next_page_url
  • rendered_pages
  • title
  • total_pages
  • url
  • word_count

See their site for more.

License

Licensed under MIT License, see LICENSE.md for more.