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

593 B
Raw Blame

title: "Selector 和 Selectors API 参考" description: "查看 Selector 和 Selectors 的 HTML 解析、选择、提取、导航和自适应元素定位方法。"

Selector 类 {#selector-class}

Selector 是 Scrapling 中用于解析 HTML 和选择元素的核心类。

这里列出了 Selector 的全部参数、属性和方法。

可以直接从 scrapling 导入 Selector:

from scrapling.parser import Selector

::: scrapling.parser.Selector

handler: python
:docstring:

::: scrapling.parser.Selectors

handler: python
:docstring: