Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

1.1 KB
Raw Blame

title: "Справочник API Spider, запросов и результатов" description: "Хуки Spider, запросы, сессии, статистика обхода и экспорт данных."

Классы Spider {#spider-classes}

Здесь описаны аргументы, атрибуты и методы классов системы обхода сайтов.

Их можно импортировать напрямую:

from scrapling.spiders import Spider, Request, CrawlResult, SessionManager, Response

::: scrapling.spiders.Spider

handler: python
:docstring:

::: scrapling.spiders.Request

handler: python
:docstring:

Классы результатов {#result-classes}

::: scrapling.spiders.result.CrawlResult

handler: python
:docstring:

::: scrapling.spiders.result.CrawlStats

handler: python
:docstring:

::: scrapling.spiders.result.ItemList

handler: python
:docstring:

Управление сессиями {#session-management}

::: scrapling.spiders.session.SessionManager

handler: python
:docstring: