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:
Karim shoair
2026-06-07 16:44:18 +03:00
parent c732c4ef31
commit b3408c6f3c
11 changed files with 23 additions and 11 deletions
+2 -1
View File
@@ -467,7 +467,8 @@ Scrapling には Python 3.10 以上が必要です:
pip install scrapling
```
このインストールにはパーサーエンジンとその依存関係のみが含まれており、Fetcher やコマンドライン依存関係は含まれていません。
> [!IMPORTANT]
> このインストールにはパーサーエンジンとその依存関係のみが含まれており、Fetcher やコマンドライン依存関係は含まれていません。 そのため、このインストールのみでは、上記の例のように `scrapling.fetchers` や `scrapling.spiders` から何かをインポートすると `ModuleNotFoundError` が発生します。Fetcher や Spider を使用する場合は、以下のように、まず Fetcher の依存関係をインストールしてください。
### オプションの依存関係