blob: cf035adf3710e6441eff489e5696284027030ca5 (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2010-02-24" name="IMDb.com" content="movies" thumb="imdb.png" language="en">
<GetSettings dest="3">
<RegExp input="$$5" output="<settings>\1</settings>" dest="3">
<RegExp input="$$1" output="<setting label="Enable full cast credits" type="bool" id="fullcredits" default="false"></setting>" dest="5">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable fanart from themoviedb.org" type="bool" id="fanart" default="true"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable posters from themoviedb.org" type="bool" id="tmdbthumbs" default="true"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable posters from IMPAwards" type="bool" id="impawards" default="false"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable posters from MoviePosterDB" type="bool" id="movieposterdb" default="false"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable IMDb trailers" type="bool" id="trailer" default="true"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="Enable trailers from Dtrailer.com" type="bool" id="dtrailer" default="false"></setting>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<setting label="IMDb Poster &amp; Actor Thumb(s) Size" type="labelenum" values="192|256|384|512|1024" id="imdbscale" default="512"></setting>" dest="5+">
<expression/>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetSettings>
<NfoUrl dest="3">
<RegExp input="$$1" output="<url>http://www.\1/title/tt\2/</url><id>tt\2</id>" dest="3">
<expression clear="yes" noclean="1">(imdb.com)/Title\?([0-9]*)</expression>
</RegExp>
<RegExp input="$$1" output="<url>http://www.\1\2/</url><id>tt\2</id>" dest="3+">
<expression noclean="1">(imdb.com/title/tt)([0-9]*)</expression>
</RegExp>
</NfoUrl>
<CreateSearchUrl dest="3" SearchStringEncoding="iso-8859-1">
<RegExp input="$$1" output="<url>http://akas.imdb.com/find?s=tt;q=\1$$4</url>" dest="3">
<RegExp input="$$2" output="%20(\1)" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="8">
<RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results>\1</results>" dest="8">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes">/title/([t0-9]*)/faq</expression>
</RegExp>
<RegExp input="$$1" output="<entity><title>\1</title><year>\2</year><url>http://akas.imdb.com/title/$$7/</url><id>$$7</id></entity>" dest="5">
<expression clear="yes" noclean="1"><meta name="title" content="([^"]*) \(([0-9]*)\)</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="4">
<expression noclean="1">(><a href="/title.*)</expression>
</RegExp>
<RegExp input="$$4" output="<entity><title>\2</title><year>\3</year><url>http://akas.imdb.com/title/\1/</url><id>\1</id></entity>" dest="5+">
<expression repeat="yes" noclean="1,2">><a href="/title/([t0-9]*)/[^>]*>([^<]*)</a> *\(([0-9]*)</expression>
</RegExp>
<expression clear="yes" noclean="1"/>
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$2" output="<id>\1</id>" dest="5">
<expression/>
</RegExp>
<RegExp input="$$1" output="<title>\1</title>" dest="5+">
<expression trim="1" noclean="1"><h1>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
<expression>a href="/year/([0-9]*)</expression>
</RegExp>
<RegExp input="$$1" output="<top250>\1</top250>" dest="5+">
<expression>Top 250: #([0-9]*)</a></expression>
</RegExp>
<RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+">
<expression>MPAA</a>:</h5>\n<div class="info-content">\n(.[^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<certification>\1 \3</certification>" dest="5+">
<expression repeat="yes"><a href="/search/title\?certificates=[^"]*">([^<]*)</a>[^<]*(<i>([^<]*)</i>)?</expression>
</RegExp>
<RegExp input="$$1" output="<tagline>\1</tagline>" dest="5+">
<expression><h5>Tagline:</h5>\n<div class="info-content">([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<runtime>\1</runtime>" dest="5+">
<expression trim="1"><h5>Runtime:</h5>[^0-9]*([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<rating>\1</rating><votes>\2</votes>" dest="5+">
<expression><b>([0-9.]+)/10</b>[^<]*<a href="ratings" class="tn15more">([0-9,]+) votes</a></expression>
</RegExp>
<RegExp input="$$1" output="<genre>\1</genre>" dest="5+">
<expression repeat="yes">"/Sections/Genres/[^/]*/">([^<]*)</a></expression>
</RegExp>
<RegExp input="$$1" output="<studio>\1</studio>" dest="5+">
<expression repeat="yes">"/company/[^/]*/">([^<]*)</a></expression>
</RegExp>
<RegExp input="$$1" output="<outline>\1</outline><plot>\1</plot>" dest="5+">
<expression trim="1">Plot:</h5>\n<div class="info-content">\n([^\|\<]*)</expression>
</RegExp>
<RegExp input="$$2" output="<url function="GetIMDBPlot">$$3plotsummary</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="!fullcredits" input="$$2" output="<url cache="$$2-credits.html" function="GetIMDBCast">$$3</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="!fullcredits" input="$$2" output="<url cache="$$2-credits.html" function="GetIMDBDirectors">$$3</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="!fullcredits" input="$$2" output="<url cache="$$2-credits.html" function="GetIMDBWriters">$$3</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="fullcredits" input="$$2" output="<url cache="$$2-fullcredits.html" function="GetIMDBCast">$$3fullcredits</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="fullcredits" input="$$2" output="<url cache="$$2-fullcredits.html" function="GetIMDBDirectors">$$3fullcredits</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="fullcredits" input="$$2" output="<url cache="$$2-fullcredits.html" function="GetIMDBWriters">$$3fullcredits</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="tmdbthumbs" input="$$2" output="<url function="GetTMDBThumbsById">$$3</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="impawards" input="$$2" output="<url cache="$$2-posters.html" function="GetIMPALink">$$3posters</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="movieposterdb" input="$$1" output="<url function="GetMoviePosterDBLink">http://www.movieposterdb.com/browse/search?type=movies&amp;query=\1</url>" dest="5+">
<expression>/title/tt([t0-9]*)/faq</expression>
</RegExp>
<RegExp conditional="trailer" input="$$1" output="<url function="GetIMDBTrailer">http://akas.imdb.com/video/imdb/vi\1/player</url>" dest="5+">
<expression>/vi([0-9]*)/</expression>
</RegExp>
<RegExp conditional="dtrailer" input="$$6" output="<url function="GetDTrailerLink">http://en.dtrailer.com/movies/search/\1</url>" dest="5+">
<RegExp input="$$4" output="\1-" dest="6">
<RegExp input="$$1" output="\1" dest="4">
<expression trim="1" noclean="1"><h1>([^<]*)</expression>
</RegExp>
<expression repeat="yes">([a-zA-Z0-9]+)</expression>
</RegExp>
<expression/>
</RegExp>
<RegExp input="$$2" output="<url cache="$$2-posters.html" function="GetIMDBThumbs">$$3posters</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="fanart" input="$$2" output="<url function="GetTMDBFanartById">$$3</url>" dest="5+">
<expression/>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetDetails>
</scraper>
|