mirror of
https://github.com/karust/openserp.git
synced 2026-08-16 21:36:06 +08:00
Add OpenSERP SDK usage examples
This commit is contained in:
10
examples/content/python-extract-markdown/README.md
Normal file
10
examples/content/python-extract-markdown/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Extract a page to Markdown (Python)
|
||||
|
||||
Extracts one URL with `/extract` and writes the cleaned page content to `extracted.md`.
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
python main.py
|
||||
```
|
||||
|
||||
Edit the `url` in [main.py](main.py) to extract a different page.
|
||||
Reference in New Issue
Block a user