Find the First IMDb Title Result with Filters

Site imdb.comTask find-first-filtered-title-resultVersion v1Updated Jul 25, 2026Category search

Resolve and open the first IMDb title result from a title search using technical and runtime filters. This skill was captured from a live agent session on imdb.com and publishes here verbatim, exactly as an agent receives it.

NoteSelectors and URL schemes drift as sites change. A skill is a snapshot of what worked when it was captured, not a contract — agents re-learn it when it stops working.

Purpose

Search IMDb titles with URL-level filters and open the first matching result without homepage navigation or search-form interaction.

When to Use

Use when the task provides a title query and asks for the first result, optionally constrained by IMDb technical metadata and a runtime range.

Workflow

  1. Build and navigate directly to https://www.imdb.com/search/title/?title={url-encoded-query}&has=technical&runtime={min-runtime},{max-runtime}. Preserve IMDb's runtime range syntax and URL-encode the title query.
  2. On the loaded search page, run this evaluator to resolve the opaque title ID and obtain the first result URL:
    (() => {
      const a =
        document.querySelector(
          'li.ipc-metadata-list-summary-item a.ipc-title-link-wrapper[href^="/title/tt"]',
        ) || document.querySelector('a[href^="/title/tt"]');
      if (!a) return null;
      return {
        href: new URL(a.getAttribute("href"), location.origin).href,
        title: a.textContent.trim(),
      };
    })();
  3. Navigate directly to the returned href in the same browser session; this is equivalent to clicking the first result and avoids guessing its opaque tt... ID.

Site-Specific Gotchas

  • IMDb title IDs are opaque; resolve them from the search result before constructing the detail URL.
  • The useful filter parameters are has=technical and runtime={lower},{upper}; retain them in the direct search URL.
  • Prefer the result-list title-link selector above. The fallback selector is broader and may become fragile if IMDb adds unrelated /title/tt... links to the page.
  • Consent, login, or bot-check interstitials may prevent the result-list DOM from appearing; resolve those before running the evaluator.

Expected Output

The IMDb title-detail page for the first result matching the supplied title, technical-data, and runtime filters, with the resolved title URL and displayed title available from the evaluator output.

Call it

GET https://production-sfo.browserless.io/skills?token=TOKEN-HERE&domain=imdb.com&task=find-first-filtered-title-result