Mozilla Skin
Translate this page


Action Node

From Moving Pictures

The action node is a child node of the ScriptableScraper (the root element in a scraper script). The type of action node is set by the node's 'name' attribute. All of the logic of your scraper will be encased in action nodes. Please review the following information for a breakdown.

Name Value Script Type Additional Information
search Movie Details This action node is passed the ${search} variable described on the Scraper Engine page. The job of this node is to retrieve a list of possible movies to match the movie file. This node builds an array of movie[] as a starting point of the other action nodes to build off of when a match is approved.

Be sure to set at least the movie[].title, movie[].site_id and movie[].details_url variables.

get_details Movie Details This node's responsibility is to gather as much information as possible for ${movie} as possible. The properties available to are listed in the Scraper Engine page.
get_cover_art Cover Art This node is passed the ${movie} variable. The goal of this scraper is to build an array of ${cover_art[].url}. The scraper engine will take care of cover quality.