feature: add IMDB movie/TV extractor #49

Merged
Claude merged 1 commits from feature/imdb-extractor into main 2026-02-15 16:54:47 +00:00
Collaborator

Summary

  • Add sites/imdb package with GetMovie() and Search() methods
  • Movie struct: ID, title, year, rating, votes, runtime, genres, director, cast, plot, poster URL, box office
  • SearchResult struct for search results with ID, title, year
  • JSON-LD parsing (primary) with DOM fallback for title
  • Supports Movie, TVSeries, and TVMiniSeries types
  • Box office extraction from DOM (not available in JSON-LD)
  • Full mock-based test coverage

Closes #30

Parent: #31 (PR 17 of 18)

Test plan

  • go build ./... passes
  • go test ./... passes
  • go vet ./... passes
## Summary - Add `sites/imdb` package with `GetMovie()` and `Search()` methods - `Movie` struct: ID, title, year, rating, votes, runtime, genres, director, cast, plot, poster URL, box office - `SearchResult` struct for search results with ID, title, year - JSON-LD parsing (primary) with DOM fallback for title - Supports Movie, TVSeries, and TVMiniSeries types - Box office extraction from DOM (not available in JSON-LD) - Full mock-based test coverage Closes #30 **Parent:** #31 (PR 17 of 18) ## Test plan - [x] `go build ./...` passes - [x] `go test ./...` passes - [x] `go vet ./...` passes
Claude added 1 commit 2026-02-15 16:54:42 +00:00
feature: add IMDB movie/TV extractor
All checks were successful
CI / test (pull_request) Successful in 46s
CI / vet (pull_request) Successful in 47s
CI / build (pull_request) Successful in 1m18s
c2768e2b05
Add sites/imdb package with GetMovie() and Search() methods. Extracts
title, year, rating, votes, runtime, genres, director, cast, plot,
poster, and box office data. Uses JSON-LD parsing with DOM fallback.
Supports Movie, TVSeries, and TVMiniSeries types.

Closes #30

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude merged commit 2a97900da8 into main 2026-02-15 16:54:47 +00:00
Claude deleted branch feature/imdb-extractor 2026-02-15 16:54:47 +00:00
Sign in to join this conversation.