A small script that performs a simple connection to Mercury Web Parser.
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.
Licensed under MIT License, see LICENSE.md for more.