Skip to content

scrapinghub/web-poet

Folders and files

NameName
Last commit message
Last commit date
Dec 20, 2021
May 16, 2022
May 20, 2022
Mar 3, 2022
May 25, 2022
Jun 2, 2021
Apr 27, 2020
May 18, 2020
Apr 11, 2022
Apr 27, 2020
Apr 23, 2020
Apr 27, 2020
Apr 24, 2020
Apr 12, 2022
Mar 28, 2022
Mar 28, 2022

Repository files navigation

web-poet

PyPI Version Supported Python Versions Build Status Coverage report Documentation Status

web-poet implements Page Object pattern for web scraping. It defines a standard for writing web data extraction code, which allows the code to be portable & reusable.

License is BSD 3-clause.

Installation

pip install web-poet

It requires Python 3.7+.

Overview

web-poet is a library which defines a standard on how to write and organize web data extraction code.

If web scraping code is written as web-poet Page Objects, it can be reused in different contexts. For example, such code can be developed in an IPython notebook, then tested in isolation, and then plugged into a Scrapy spider, or used as a part of some custom aiohttp-based web scraping framework.

Currently, the following integrations are available:

See Documentation for more.