Excavator fails to run `checkver` with `script` specified
Some of my manifests have `script` specified in `checkver` (e.g. https://github.com/Locietta/sniffer/blob/master/bucket/foxmail.json). It works well when I'm testing locally with `./bin/checkver.ps1 -u`, but it doesn't work for Excavactor now. (It works 4 months ago though, according to the file commit history.)
### Related checkver
```json
"checkver": {
"script": [
"$dl_url = 'https://www.foxmail.com/win/download'",
"$header = Invoke-WebRequest -Method Head -Uri $dl_url",
"$header.BaseResponse.RequestMessage.RequestUri.OriginalString"
],
"regex": "FoxmailSetup_([\\d.]+).exe"
},
```
### Related action Logs
```log
VERBOSE: HEAD https://www.foxmail.com/win/download with 0-byte payload
VERBOSE: received 127009152-byte response of content type application/octet-stream
foxmail: couldn't match 'FoxmailSetup_([\d.]+).exe' in https://www.foxmail.com/
```
full log: https://github.com/Locietta/sniffer/actions/runs/8200715277/job/22428004785
It looks like excavactor mistakenly use regex over `homepage`, instead of the result of `script`.
关闭于 2025-09-13 4 条评论