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 more

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    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
36    const { items } = await client.dataset(run.defaultDatasetId).listItems();
37    items.forEach((item) => {
38        console.dir(item);
39    });
40})();
41
42// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 12 monthly users
  • 99.6% runs succeeded
  • days response time
  • Created in May 2022
  • Modified about 8 hours ago