mirror of
https://codeberg.org/pluja/kycnot.me
synced 2024-10-01 01:05:59 -04:00
24 lines
318 B
Markdown
24 lines
318 B
Markdown
|
# Crawlee + PlaywrightCrawler + JavaScript
|
||
|
|
||
|
Crawler API for kycnot.me
|
||
|
|
||
|
## `GET /scrap`
|
||
|
|
||
|
### URL Query Parameters:
|
||
|
|
||
|
- `url`: URL to scrap
|
||
|
|
||
|
### Response:
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"content": string,
|
||
|
"length": number,
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```bash
|
||
|
curl -X GET "http://localhost:3011/scrap?url=https://localmonero.co/nojs/faq"
|
||
|
```
|