autoextract_poet.pages.AutoExtractArticlePage¶
- class AutoExtractArticlePage(article_data: autoextract_poet.page_inputs.AutoExtractArticleData)[source]¶
Bases:
web_poet.pages.ItemPage
Article data from AutoExtract
https://docs.zyte.com/automatic-extraction/article.html
- __init__(article_data: autoextract_poet.page_inputs.AutoExtractArticleData) None ¶
Method generated by attrs for class AutoExtractArticlePage.
Methods
__init__
(article_data)Method generated by attrs for class AutoExtractArticlePage.
to_item
()Extract an item from a web page
Attributes
article_data
- to_item() Optional[autoextract_poet.items.Article] [source]¶
Extract an item from a web page