![IMDB Advanced Scraper avatar](https://images.apifyusercontent.com/ibl71RcyBMYwHy2OQpuuYEh6bD3yBpqacI_E-YH1LLk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90RnRSSmtKOG5JaUZ4MlFxNy82QnNDSzlTRGhialdyYUh4di1NVjVCTVRjek5qTTBORFkwTWw1Qk1sNUJjRzVuWGtGdFpUZ3dNVGsxTXpRMk9URV8uX1YxXy5wbmc.webp)
IMDB Advanced Scraper
Try for free
3 days trial then $35.00/month - No credit card required now
View all Actors![IMDB Advanced Scraper](https://images.apifyusercontent.com/ibl71RcyBMYwHy2OQpuuYEh6bD3yBpqacI_E-YH1LLk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90RnRSSmtKOG5JaUZ4MlFxNy82QnNDSzlTRGhialdyYUh4di1NVjVCTVRjek5qTTBORFkwTWw1Qk1sNUJjRzVuWGtGdFpUZ3dNVGsxTXpRMk9URV8uX1YxXy5wbmc.webp)
![IMDB Advanced Scraper](https://images.apifyusercontent.com/ibl71RcyBMYwHy2OQpuuYEh6bD3yBpqacI_E-YH1LLk/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS90RnRSSmtKOG5JaUZ4MlFxNy82QnNDSzlTRGhialdyYUh4di1NVjVCTVRjek5qTTBORFkwTWw1Qk1sNUJjRzVuWGtGdFpUZ3dNVGsxTXpRMk9URV8uX1YxXy5wbmc.webp)
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