IMDB Advanced Scraper avatar
IMDB Advanced Scraper
Try for free

3 days trial then $35.00/month - No credit card required now

View all Actors
IMDB Advanced Scraper

IMDB Advanced Scraper

epctex/imdb-advanced-scraper
Try for free

3 days trial then $35.00/month - No credit card required now

Uncover comprehensive data on millions of movies, artists, and more with our advanced scraping tool. Extract TV episode details, descriptions, casting, artists, ratings, and more. Customize your search with filters and mappings for precise results.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "search": "warner",
11    "mode": "all",
12    "searchTag": "all",
13    "startUrls": [
14        "https://www.imdb.com/title/tt0056234/?ref_=adv_li_tt",
15        "https://www.imdb.com/name/nm0912504/?ref_=fn_al_nm_1",
16        "https://www.imdb.com/list/ls566706296",
17        "https://www.imdb.com/find?s=kw&q=warn&ref_=nv_sr_sm",
18        "https://www.imdb.com/search/title/?title_type=feature&release_date=2021-01-01,2023-07-01"
19    ],
20    "maxItems": 20,
21    "endPage": 1,
22    "extendOutputFunction": ($) => { return {} },
23    "customMapFunction": (object) => { return {...object} },
24    "proxy": {
25        "useApifyProxy": true
26    }
27};
28
29(async () => {
30    // Run the Actor and wait for it to finish
31    const run = await client.actor("epctex/imdb-advanced-scraper").call(input);
32
33    // Fetch and print Actor results from the run's dataset (if any)
34    console.log('Results from dataset');
35    const { items } = await client.dataset(run.defaultDatasetId).listItems();
36    items.forEach((item) => {
37        console.dir(item);
38    });
39})();
Developer
Maintained by Community
Actor metrics
  • 13 monthly users
  • 100.0% runs succeeded
  • Created in May 2022
  • Modified about 5 hours ago