From fa742660190a7d3b7b6f068565ce543d413edbab Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 25 Jun 2026 20:07:08 +0200 Subject: feat: fetch Wikipedia article titles via Wikidata SPARQL - Query Wikidata SPARQL in batches of 30 for entries missing wiki_article - Store wiki_article title in imdb table - Respect rate limits with configurable delay and retry on 5xx/429 - Skip entries that have no Wikipedia article - Removed unique constraint on wiki_article (multiple entries can share one) --- src/main.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.go') diff --git a/src/main.go b/src/main.go index 123cc64..272e4b6 100644 --- a/src/main.go +++ b/src/main.go @@ -194,4 +194,8 @@ func main() { if err = app.fetchAndUpdateImdbData(); err != nil { log.Fatalf("fetchAndUpdateImdbData: %v", err) } + + if err = app.fetchWikiArticles(); err != nil { + log.Fatalf("fetchWikiArticles: %v", err) + } } -- cgit v1.2.3