diff options
| author | dev | 2026-06-24 04:04:32 +0200 |
|---|---|---|
| committer | dev | 2026-06-24 04:21:20 +0200 |
| commit | a55f6e227ff397a5d9167cd4ee15442e9cad06ab (patch) | |
| tree | af524b12d9d056d8720a094780570635875f99bc /src/wikiarticle.go | |
| parent | 256c372033bf0ccb6d27ae05c953fa0c18981bf3 (diff) | |
| download | hnimdbbot-a55f6e227ff397a5d9167cd4ee15442e9cad06ab.tar.gz | |
fix: correct TSV parsing — use line-by-line reader and proper column indices
- Replace csv.Reader with bufio.Scanner to avoid quote-parsing issues
that skipped ~355 entries (e.g. tt1853728 was on line 4.8M and got
lost when csv.Reader encountered malformed quoted fields earlier)
- Fix column indices: startYear=rec[5], runtimeMinutes=rec[7]
(was rec[4]/rec[5] which mapped to isAdult/startYear)
- Update basics for ALL imdb entries, not just those missing ratings
Diffstat (limited to 'src/wikiarticle.go')
0 files changed, 0 insertions, 0 deletions
