Metacritic Scraper avatar
Metacritic Scraper
Try for free

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

View all Actors
Metacritic Scraper

Metacritic Scraper

epctex/metacritic-scraper
Try for free

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

Extract any data from Metacritic right away! Games, Music, Movies, TV Shows, People, Companies, and more information are ready for you. Get reviews immediately! Search for any keyword, filter by your needs, or get listing pages! Export your data by XML, JSON, CSV, Excel, or HTML

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": "last of us",
9    "startUrls": [
10        "https://www.metacritic.com/music/sos/sza",
11        "https://www.metacritic.com/tv/the-witcher-blood-origin",
12        "https://www.metacritic.com/movie/whitney-houston-i-wanna-dance-with-somebody",
13        "https://www.metacritic.com/game/playstation-5/elden-ring",
14        "https://www.metacritic.com/search/all/hel/results",
15        "https://www.metacritic.com/search/game/hel/results",
16        "https://www.metacritic.com/browse/movies/score/metascore/all/filtered/netflix",
17        "https://www.metacritic.com/browse/tv/score/metascore/year/filtered?sort=desc&view=detailed",
18        "https://www.metacritic.com/browse/games/genre/date/action/ps4",
19    ],
20    "maxItems": 20,
21    "endPage": 1,
22    "extendOutputFunction": "($) => { return {} }",
23    "customMapFunction": "(object) => { return {...object} }",
24    "proxy": { "useApifyProxy": True },
25}
26
27# Run the Actor and wait for it to finish
28run = client.actor("epctex/metacritic-scraper").call(run_input=run_input)
29
30# Fetch and print Actor results from the run's dataset (if there are any)
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33    print(item)
34
35# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 4 stars
  • 68.7% runs succeeded
  • Created in Jan 2023
  • Modified about 23 hours ago