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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
|
<scraperfunctions>
<GetTMDBCertificationsByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBCertifications" cache="tmdb-cert-\1.json">http://api.themoviedb.org/3/movie/\1/releases?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBCertificationsByIdChain>
<ParseTMDBCertifications dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<mpaa>Rated \1</mpaa>" dest="2">
<expression fixchars="1">"US","certification":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBCertifications>
<GetTMDBPlotByIdChain clearbuffers="no" dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="\1" dest="8">
<expression clear="yes" noclean="1" />
</RegExp>
<RegExp input="$$8" output="<url function="ParseTMDBPlot" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBPlotByIdChain>
<ParseTMDBPlot dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="9">
<expression clear="yes" fixchars="1">"overview":"(.*?)",</expression>
</RegExp>
<RegExp input="$$9" output="<url function="ParseFallbackTMDBPlot" cache="tmdb-en-$$8.json">http://api.themoviedb.org/3/movie/$$8?api_key=57983e31fb435df4df77afb854740ea9&language=en</url>" dest="2">
<expression>^$</expression>
</RegExp>
<RegExp input="$$9" output="<plot>\1</plot>" dest="2">
<expression>(.+)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBPlot>
<ParseFallbackTMDBPlot dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<plot>\1</plot>" dest="2">
<expression clear="yes" fixchars="1">"overview":"(.*?)",</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseFallbackTMDBPlot>
<GetTMDBSetByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBSet" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBSetByIdChain>
<ParseTMDBSet dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<set>\1</set>" dest="2">
<expression noclean="1">"belongs_to_collection":{"id":[0-9]+,"name":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBSet>
<GetTMDBCastByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBCast" cache="tmdb-cast-\1.json">http://api.themoviedb.org/3/movie/\1/casts?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBCastByIdChain>
<ParseTMDBCast dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"cast":\[([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<actor><name>\1</name><role>\2</role></actor>" dest="2">
<expression repeat="yes" fixchars="1">"name":"([^"]*)","character":"([^"]*)</expression>
</RegExp>
<RegExp input="$$7" output="<actor><name>\1</name><role>\2</role><thumb>http://cf2.imgobject.com/t/p/original\3</thumb></actor>" dest="2+">
<expression repeat="yes" fixchars="1">"name":"([^"]*)","character":"([^"]*)","order":[0-9]*,"profile_path":"([^"]*)"</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBCast>
<GetTMDBDirectorsByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBDirectors" cache="tmdb-cast-\1.json">http://api.themoviedb.org/3/movie/\1/casts?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBDirectorsByIdChain>
<ParseTMDBDirectors dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"crew":\[([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<director>\1</director>" dest="2">
<expression repeat="yes" fixchars="1">"name":"([^"]*)","department":"Directing","job":"Director"</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBDirectors>
<GetTMDBWitersByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBWriters" cache="tmdb-cast-\1.json">http://api.themoviedb.org/3/movie/\1/casts?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBWitersByIdChain>
<ParseTMDBWriters dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"crew":\[([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<credits>\1</credits>" dest="2">
<expression repeat="yes" fixchars="1">"name":"([^"]*)","department":"Writing",</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBWriters>
<GetTMDBGenresByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBGenres" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBGenresByIdChain>
<ParseTMDBGenres dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"genres":\[([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<genre>\1</genre>" dest="2">
<expression repeat="yes" fixchars="1">"name":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBGenres>
<GetTMDBRatingByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBRating" cache="tmdb-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBRatingByIdChain>
<ParseTMDBRating dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<rating>\1</rating>" dest="2">
<expression noclean="1">"vote_average":([^,]*),"</expression>
</RegExp>
<RegExp input="$$1" output="<votes>\1</votes>" dest="2+">
<expression noclean="1">"vote_count":([0-9]+)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTMDBRating>
<GetTMDBTrailerByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBTrailer" cache="tmdb-trailer-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1/trailers?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression>^([0-9]+)$</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBTrailerByIdChain>
<ParseTMDBTrailer dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"youtube":\[{([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=\1</trailer>" dest="2">
<expression noclean="1">"source":"([^"]*)</expression>
</RegExp>
<expression noclean="1">(.+)</expression>
</RegExp>
</ParseTMDBTrailer>
<GetTMDBFanartByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBFanart" cache="tmdb-images-\1.json">http://api.themoviedb.org/3/movie/\1/images?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBFanartByIdChain>
<GetTMDBFanartById dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBFanart" cache="tmdb-images-\1.json">http://api.themoviedb.org/3/movie/\1/images?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBFanartById>
<ParseTMDBFanart dest="5">
<RegExp input="$$2" output="<details><fanart>\1</fanart></details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"backdrops":\[{([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<thumb preview="http://cf2.imgobject.com/t/p/w780\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="2">
<expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression>
</RegExp>
<expression noclean="1">(.+)</expression>
</RegExp>
</ParseTMDBFanart>
<GetTMDBThumbsByIdChain dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBThumbs" cache="tmdb-images-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1/images?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBThumbsByIdChain>
<GetTMDBThumbsById dest="4">
<RegExp input="$$5" output="<details>\1</details>" dest="4">
<RegExp input="$$1" output="<url function="ParseTMDBThumbs" cache="tmdb-images-$INFO[language]-\1.json">http://api.themoviedb.org/3/movie/\1/images?api_key=57983e31fb435df4df77afb854740ea9&language=$INFO[language]</url>" dest="5">
<expression />
</RegExp>
<expression noclean="1" />
</RegExp>
</GetTMDBThumbsById>
<ParseTMDBThumbs dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<url function="ParseTMDBAllThumbs" cache="tmdb-images-\1.json">http://api.themoviedb.org/3/movie/\1/images?api_key=57983e31fb435df4df77afb854740ea9</url>" dest="2">
<expression noclean="1">"id":([0-9]*),</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"posters":\[{([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<thumb preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="2+">
<expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression>
</RegExp>
<expression noclean="1">(.+)</expression>
</RegExp>
</ParseTMDBThumbs>
<ParseTMDBAllThumbs dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">"posters":\[{([^\]]*)</expression>
</RegExp>
<RegExp input="$$7" output="<thumb preview="http://cf2.imgobject.com/t/p/w500\1">http://cf2.imgobject.com/t/p/original\1</thumb>" dest="2">
<expression repeat="yes" noclean="1">"file_path":"([^"]*)</expression>
</RegExp>
<expression noclean="1">(.+)</expression>
</RegExp>
</ParseTMDBAllThumbs>
</scraperfunctions>
|