diff options
| author | dev | 2026-06-26 01:14:39 +0200 |
|---|---|---|
| committer | dev | 2026-06-26 01:14:39 +0200 |
| commit | d4e471b0c108006ebea46dd871bb17638dcc2372 (patch) | |
| tree | 318484b16888f76f8126c682f446b58cadfcab7b /src/main.go | |
| parent | 82520cd838db155f51aa1dbeac3373de225f38a0 (diff) | |
| download | hnimdbbot-d4e471b0c108006ebea46dd871bb17638dcc2372.tar.gz | |
feat: track wiki_status_code and skip 404 entries on rerun
- queryWikiArticle returns HTTP status code alongside entry data
- Always record wiki_status_code for every request (success or failure)
- Skip entries with wiki_status_code = 404 in future runs
- Only update data fields on HTTP 200; non-200 only records status
- Log line shows updated vs skipped (non-200) counts
Diffstat (limited to 'src/main.go')
0 files changed, 0 insertions, 0 deletions
