Files
jackwener__opencli/docs/adapters/browser/imdb.md
AstroHan 0773616c1e feat(imdb): add IMDb adapter with 6 commands (#472)
* feat(imdb): add IMDb adapter with 6 commands

Add a public IMDb adapter using browser-based JSON-LD and __NEXT_DATA__
extraction. All commands use Strategy.PUBLIC with browser: true.

Commands:
- imdb search <query> — search movies, TV shows, and people
- imdb title <id> — get movie/show details (Movie, TVSeries, TVEpisode, TVMiniseries, TVMovie, etc.)
- imdb top — IMDb Top 250 chart
- imdb trending — Most Popular Movies
- imdb person <id> — actor/director info with filmography
- imdb reviews <id> — user reviews (first page, max 25)

Shared utils: ID normalization, ISO 8601 duration formatting, locale
forcing, JSON-LD extraction (supports type array filtering), and
anti-bot challenge detection.

* review: harden imdb adapter loading and tests

* test: unblock PR CI on merge head

---------

Co-authored-by: jackwener <jakevingoo@gmail.com>
2026-03-26 22:21:52 +08:00

1.1 KiB

IMDb

Mode: 🌐 Public (Browser) · Domain: www.imdb.com

Commands

Command Description
opencli imdb search Search movies, TV shows, and people
opencli imdb title Get movie or TV show details
opencli imdb top IMDb Top 250 Movies
opencli imdb trending IMDb Most Popular Movies
opencli imdb person Get actor or director info
opencli imdb reviews Get user reviews for a title

Usage Examples

# Search for a movie
opencli imdb search "inception" --limit 10

# Get movie details
opencli imdb title tt1375666

# Get TV series details (also accepts full URL)
opencli imdb title "https://www.imdb.com/title/tt0903747/"

# Top 250 movies
opencli imdb top --limit 20

# Currently trending movies
opencli imdb trending --limit 10

# Actor/director info with filmography
opencli imdb person nm0634240 --limit 5

# User reviews
opencli imdb reviews tt1375666 --limit 5

# JSON output
opencli imdb top --limit 5 -f json

Prerequisites

  • Chrome with Browser Bridge extension installed
  • No login required (all data is public)