🕷️ 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
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
title: "HTTP 和浏览器 Fetcher API 参考" description: "查看 Fetcher、AsyncFetcher、StealthyFetcher 和会话的 API,包括请求选项、浏览器设置和返回类型。"
Fetcher 类 {#fetchers-classes}
这里列出了所有 Fetcher 类的参数、属性和方法。
可以直接导入:
from scrapling.fetchers import (
Fetcher, AsyncFetcher, StealthyFetcher,
FetcherSession, AsyncStealthySession, StealthySession
)
::: scrapling.fetchers.Fetcher
handler: python
:docstring:
::: scrapling.fetchers.AsyncFetcher
handler: python
:docstring:
::: scrapling.fetchers.StealthyFetcher
handler: python
:docstring:
会话类 {#session-classes}
HTTP 会话 {#http-sessions}
::: scrapling.fetchers.FetcherSession
handler: python
:docstring:
隐身浏览器会话 {#stealth-sessions}
::: scrapling.fetchers.StealthySession
handler: python
:docstring:
::: scrapling.fetchers.AsyncStealthySession
handler: python
:docstring: