docs: add a code snippet on how to do scrapling install from code
This commit is contained in:
+10
-1
@@ -364,11 +364,20 @@ pip install scrapling
|
||||
```bash
|
||||
pip install "scrapling[fetchers]"
|
||||
|
||||
scrapling install
|
||||
scrapling install # normal install
|
||||
scrapling install --force # force reinstall
|
||||
```
|
||||
|
||||
يقوم هذا بتنزيل جميع المتصفحات، إلى جانب تبعيات النظام وتبعيات معالجة fingerprint الخاصة بها.
|
||||
|
||||
أو يمكنك تثبيتها من الكود بدلاً من تشغيل أمر كالتالي:
|
||||
```python
|
||||
from scrapling.cli import install
|
||||
|
||||
install([], standalone_mode=False) # normal install
|
||||
install(["--force"], standalone_mode=False) # force reinstall
|
||||
```
|
||||
|
||||
2. ميزات إضافية:
|
||||
- تثبيت ميزة خادم MCP:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user