docs: warn that the default installation doesn't include fetchers
The quickstart examples import from `scrapling.fetchers`, which raises `ModuleNotFoundError` on a bare install since those dependencies live in the fetchers extra. Make the consequence explicit in the installation section across the docs and all README translations. Closes #343
This commit is contained in:
+2
-1
@@ -467,7 +467,8 @@ Scrapling 需要 Python 3.10 或更高版本:
|
||||
pip install scrapling
|
||||
```
|
||||
|
||||
此安装仅包括解析器引擎及其依赖项,没有任何 Fetcher 或命令行依赖项。
|
||||
> [!IMPORTANT]
|
||||
> 此安装仅包括解析器引擎及其依赖项,没有任何 Fetcher 或命令行依赖项。 因此,仅使用此安装时,像上面的示例那样从 `scrapling.fetchers` 或 `scrapling.spiders` 导入任何内容都会引发 `ModuleNotFoundError`。如果要使用任何 Fetcher 或 Spider,请先按照下面的说明安装 Fetcher 的依赖项。
|
||||
|
||||
### 可选依赖项
|
||||
|
||||
|
||||
Reference in New Issue
Block a user