summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2026-06-24chore: delete .gz files after extracting in downloadImdbDatasetsdev1-0/+3
2026-06-24move download pathdev1-1/+1
2026-06-24feat: fetchAndUpdateImdbData — download IMDB datasets and populate imdb tabledev2-0/+352
- Check for imdb entries with NULL average_rating - Download title.basics.tsv.gz and title.ratings.tsv.gz to imdbdata/ - Decompress alongside gzip originals - Parse only rows matching our imdb_ids (memory-efficient) - Update: average_rating, num_votes, title_type, primary_title, original_title, start_year, runtime_minutes - Results: 3394 ratings, 3093 basics updated out of 3448 entries
2026-06-24feat: populate imdb table with unique title IDs from linksdev1-0/+91
- Extract distinct IMDb title IDs from links.param (host=imdb.com) - Skip IDs already in imdb table and non-title params (nm, ls, etc.) - Insert 3448 unique title IDs into imdb.imdb_id
2026-06-24feat: extract IMDB title IDs from links URLs into param fielddev3-15/+87
- Query links table for IMDB title URLs (field=1, host=imdb.com) - Extract ttIDs via regex and batch-update links.param - 5662 rows updated successfully
2026-06-24feat: add AccessToken back to Config struct (json:"-" to exclude from ↵dev1-0/+1
serialization)
2026-06-24chore: remove access_token from config (calculated by program)dev2-4/+0
2026-06-24feat: switch config to JSON; add go.mod and config.json.exampledev4-88/+57
- Replace Viper-based config with encoding/json (config.go) - Add config.json with sensible defaults (gitignored) - Add config.json.example with empty values as reference - Initialize go module (go.mod) - Update main.go to use LoadConfig()
2026-06-24chore: commit existing config.go changesdev1-1/+2
2026-06-24Initial commitdev2-0/+143