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:
+3
-1
@@ -180,7 +180,9 @@ Scrapling requires Python 3.10 or higher:
|
||||
pip install scrapling
|
||||
```
|
||||
|
||||
This installation only includes the parser engine and its dependencies, without any fetchers or commandline dependencies.
|
||||
!!! warning
|
||||
|
||||
This installation only includes the parser engine and its dependencies, without any fetchers or commandline dependencies. So importing anything from `scrapling.fetchers` or `scrapling.spiders`, like in the examples above, will raise `ModuleNotFoundError` with this installation alone. If you are going to use any of the fetchers or spiders, install the fetchers' dependencies first as shown below.
|
||||
|
||||
### Optional Dependencies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user