Contents Menu Expand Light mode Dark mode Auto light/dark mode
minimal-web-scraper documentation
minimal-web-scraper documentation
  • Get started
    • Installation
    • minimal-web-scraper
  • How-to guides
    • Create a parser
    • Import a parser
  • References
    • Choose the scope_urls
  • API Reference
    • minimal_web_scraper
      • minimal_web_scraper.parsers
  • License
  • About
  • Changelog
Back to top
Edit this page

minimal_web_scraper#

Main package of the library. Provide the high-level API scrape().

Overview#

Function#

scrape(url)

Orchestrate the download and parse of the resource at the URL.

Functions#

minimal_web_scraper.scrape(url: str) → Any#

Orchestrate the download and parse of the resource at the URL.

Parameters:

url – URL to parse

Returns:

extracted informations by a implemented parsers.BaseParser.parse()

Raise:

parsers.exceptions.ParserNotFound()

Subpackages#

  • minimal_web_scraper.parsers
Next
minimal_web_scraper.parsers
Previous
API Reference
Copyright © 2023, gamma_120
Made with Sphinx and @pradyunsg's Furo
On this page
  • minimal_web_scraper
    • Overview
    • Functions
      • scrape()
    • Subpackages