Read a website's upload rules
interpret_upload_rulesTurn the upload rules a website shows (e.g. "JPG only, 10 KB to 50 KB, 200 x 230 pixels" or "PDF not more than 1 MB") into exact numbers: KB limits, a byte range that passes whether the site counts 1 KB as 1,000 or 1,024 bytes, pixels, file type, and the SafeResize tool that fixes the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The rules exactly as the website writes them |