[d2dccc]: metadata.common.rottentomatoes.com / rt.xml Maximize Restore History

Download this file

rt.xml    46 lines (45 with data), 2.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<scraperfunctions>
<GetRTAudienceScoreByIMDbId dest="5">
<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;rt-$$1.xml&quot; function=&quot;ParseRTAudienceScore&quot;&gt;http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?apikey=x36q7ff48xg7m8jfz9xscjkk&amp;type=imdb&amp;id=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
<expression />
</RegExp>
</GetRTAudienceScoreByIMDbId>
<GetRTCriticsScoreByIMDbId dest="5">
<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;rt-$$1.xml&quot; function=&quot;ParseRTCriticsScore&quot;&gt;http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?apikey=x36q7ff48xg7m8jfz9xscjkk&amp;type=imdb&amp;id=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
<expression />
</RegExp>
</GetRTCriticsScoreByIMDbId>
<GetRTGenresByIMDbId dest="5">
<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;rt-$$1.xml&quot; function=&quot;ParseRTGenres&quot;&gt;http://api.rottentomatoes.com/api/public/v1.0/movie_alias.json?apikey=x36q7ff48xg7m8jfz9xscjkk&amp;type=imdb&amp;id=\1&lt;/url&gt;&lt;/details&gt;" dest="5">
<expression />
</RegExp>
</GetRTGenresByIMDbId>
<ParseRTAudienceScore dest="6">
<RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" dest="6">
<RegExp input="$$1" output="&lt;rating&gt;\1.\2&lt;/rating&gt;" dest="4">
<expression noclean="1">&quot;audience_score&quot;:([0-9])([0-9])</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseRTAudienceScore>
<ParseRTCriticsScore dest="6">
<RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" dest="6">
<RegExp input="$$1" output="&lt;rating&gt;\1.\2&lt;/rating&gt;" dest="4">
<expression noclean="1">&quot;critics_score&quot;:([0-9])([0-9])</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseRTCriticsScore>
<ParseRTGenres dest="6">
<RegExp input="$$4" output="&lt;details&gt;\1&lt;/details&gt;" dest="6">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">,&quot;genres&quot;:\[([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="4">
<expression repeat="yes">&quot;([^&quot;]*)&quot;</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseRTGenres>
</scraperfunctions>