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

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "search": "warner",
9    "mode": "all",
10    "searchTag": "all",
11    "startUrls": [
12        "https://www.imdb.com/title/tt0056234/?ref_=adv_li_tt",
13        "https://www.imdb.com/name/nm0912504/?ref_=fn_al_nm_1",
14        "https://www.imdb.com/list/ls566706296",
15        "https://www.imdb.com/find?s=kw&q=warn&ref_=nv_sr_sm",
16        "https://www.imdb.com/search/title/?title_type=feature&release_date=2021-01-01,2023-07-01",
17    ],
18    "maxItems": 20,
19    "endPage": 1,
20    "extendOutputFunction": "($) => { return {} }",
21    "customMapFunction": "(object) => { return {...object} }",
22    "proxy": { "useApifyProxy": True },
23}
24
25# Run the Actor and wait for it to finish
26run = client.actor("epctex/imdb-advanced-scraper").call(run_input=run_input)
27
28# Fetch and print Actor results from the run's dataset (if there are any)
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31    print(item)
32
33# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 12 monthly users
  • 1 star
  • 96.9% runs succeeded
  • Created in May 2022
  • Modified about 23 hours ago