docs: add a code snippet on how to do scrapling install from code

This commit is contained in:
Karim shoair
2026-02-27 01:17:54 +02:00
parent 5f885ae5f5
commit ef29568cd0
8 changed files with 80 additions and 8 deletions
+10 -1
View File
@@ -364,11 +364,20 @@ Diese Installation enthält nur die Parser-Engine und ihre Abhängigkeiten, ohne
```bash
pip install "scrapling[fetchers]"
scrapling install
scrapling install # normal install
scrapling install --force # force reinstall
```
Dies lädt alle Browser zusammen mit ihren Systemabhängigkeiten und Fingerprint-Manipulationsabhängigkeiten herunter.
Oder Sie können sie aus dem Code heraus installieren, anstatt einen Befehl auszuführen:
```python
from scrapling.cli import install
install([], standalone_mode=False) # normal install
install(["--force"], standalone_mode=False) # force reinstall
```
2. Zusätzliche Funktionen:
- MCP-Server-Funktion installieren:
```bash