Rotten Extractor avatar
Rotten Extractor
Try for free

7 days trial then $20.00/month - No credit card required now

View all Actors
Rotten Extractor

Rotten Extractor

binhbui/rotten-extractor
Try for free

7 days trial then $20.00/month - No credit card required now

You can extract information about movies and actors that are listed on the Rotten Tomatoes website using this actor. Each movie has different metadata such as Rating, Genre, Box Office, Studio, and Scores. These metadata can be helpful for many data science projects.

Rotten Tomatoes extractor

This actor extracts data from Rotten Tomatoes using Apify actor platform.

You can extract information about movies and actors that are listed on the Rotten Tomatoes website using this actor. Each movie has different metadata such as Rating, Genre, Box Office, Studio, and Scores. The Genre has 20+ subcategories that also gives you more granular information on a movie. These metadata can be helpful for many data science projects.

How to use

Go to Tomatoes and choose filter you want. Then copy the URL of the page and paste it in the input of the actor. Click on "Run" and wait for the results.

Input parameters

The input of this actor should be JSON containing the list of Tomatoes URLs. You can provide a list of Tomatoes URLs directly in the editor of the actor or as an input of the actor. The actor will then extract data from these pages.

The actor accepts the following input parameters:

startUrlsmaxItemsproxyConfigurationextendOutputFunction
List of URLs that will be scraped or crawled. Go to Tomatoes and choose filter you want. Then copy the URL and paste it here. You can also provide a list of URLs directly in the editor. If you want to provide multiple URLs, you have to put each URL on a separate line.Maximum number of items that will be processed.Proxy configuration used by the actor. You can use either of these methods:Function that takes a JQuery handle ($) as argument and returns data that will be merged with the default output. This function allows you to override values returned from Tomatoes.

Extend output function

This function can be used to change the data output of this actor. It takes a JQuery handle $ as an argument and it should return data that will be merged with the default output. This function allows you to override values returned from Tomatoes. Returning {} will skip the default output and only data returned from this function will be added.

The following example demonstrates how to override the output of this actor. In this example, the actor will always return the actor name "Tom Cruise" regardless of what is on the page.

1async ($) => {
2    return {
3        actor: 'Tom Cruise',
4    };
5};
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Aug 2023
  • Modified 8 months ago