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.0 KB
Raw Blame

title: "Référence de l’API des spiders, requêtes et résultats" description: "Consultez les hooks des spiders, les requêtes, les sessions, les statistiques d’exploration et les méthodes d’export."

Classes des spiders {#spider-classes}

Vous trouverez ici les paramètres, attributs et méthodes des classes du framework de spiders.

Vous pouvez les importer directement :

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

::: scrapling.spiders.Spider

handler: python
:docstring:

::: scrapling.spiders.Request

handler: python
:docstring:

Classes des résultats {#result-classes}

::: scrapling.spiders.result.CrawlResult

handler: python
:docstring:

::: scrapling.spiders.result.CrawlStats

handler: python
:docstring:

::: scrapling.spiders.result.ItemList

handler: python
:docstring:

Gestion des sessions {#session-management}

::: scrapling.spiders.session.SessionManager

handler: python
:docstring: