Save scraper
scraper_saveValidate Python scraper source code, then save it under a given name for execution on the next run. Supports atomic compare-and-swap to prevent overwriting concurrent changes.
Instructions
Validate and atomically save a scraper for the next run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name without a directory or .py suffix | |
| source | Yes | Complete UTF-8 Python source defining async def scrape(ctx, params) | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||