It's a find-a-movie challenge This is a simple(ish) web scraping challenge.

Input

Your code should take an MPAA film rating and a number from 0 to 100 as input. It can do this in any way you find convenient.

Output

Your code should return the name of any movie which has a) that film rating and b) the numerical score on the Tomatometer from rottentomatoes.

If there is no such movie it can output anything you like.

The possible MPAA film ratings are G, PG, PG-13, R, NC-17, NR.

Your code may report one or more movies, that is up to you.

To clarify, your code is meant to access the web to get the answers to queries.

Example

Say the input is "PG, 98" then your code could output "Zootropolis".

Please show an example of your code working with the film rating PG and score 98 along with your answer.
Bash, 182 bytes



curl "https://www.rottentomatoes.com/api/private/v2.0/browse?minTomato=$2&amp;maxTomato=$2&amp;type=dvd-streaming-all" 2&gt;/dev/null|grep -o "{[^}]*aRating\":\"$1\""|grep -Po 'title":"\K[^"]*'


Usage:



$ bash script PG 98
The Island President
Inside Out
Zootopia
Paddington
Love &amp; Friendship
Long Way North (Tout en haut du monde)