aboutsummaryrefslogtreecommitdiff
path: root/addons/metadata.common.imdb.com/imdb.xml
blob: 74d4f424221f433cb49358b40b51ffc10dbad2a2 (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
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
<?xml version="1.0" encoding="UTF-8"?>
<scraperfunctions>
	<GetIMDBGenresById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBGenres&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBGenresById>
	<ParseIMDBGenres dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1">,\s*&quot;genre&quot;:\s(&quot;[^&quot;]+&quot;),</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1">"genre":\s\[(.*?)\]</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;genre&gt;\1&lt;/genre&gt;" dest="2">
				<expression repeat="yes">&quot;([^&quot;]+)&quot;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBGenres>

	<GetIMDBRatingById dest="5">	<!-- Compatibility function for Pre-Krypton versions-->
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBRating&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBRatingById>
	<ParseIMDBRating dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;rating&gt;\2&lt;/rating&gt;&lt;votes&gt;\1&lt;/votes&gt;" dest="2">
				<expression>&quot;ratingCount&quot;:\s([0-9,]+),\s*&quot;bestRating&quot;:\s&quot;[^&quot;]*&quot;,\s*&quot;worstRating&quot;:\s&quot;[^&quot;]*&quot;,\s*&quot;ratingValue&quot;:\s&quot;([0-9.]+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBRating>

	<GetIMDBRatingsById dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;\1-main.html&quot; function=&quot;ParseIMDBRatings&quot;&gt;http://www.imdb.com/title/\1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1">^(tt\d+)</expression>
		</RegExp>
		<RegExp input="$$1" output="default=&quot;true&quot;" dest="3">
			<expression clear="yes">\|default$</expression>
		</RegExp>
	</GetIMDBRatingsById>
	<ParseIMDBRatings dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;ratings&gt;&lt;rating name=&quot;imdb&quot; $$3&gt;&lt;value&gt;\2&lt;/value&gt;&lt;votes&gt;\1&lt;/votes&gt;&lt;/rating&gt;&lt;/ratings&gt;" dest="2">
				<expression>&quot;ratingCount&quot;:\s([0-9,]+),\s*&quot;bestRating&quot;:\s&quot;[^&quot;]*&quot;,\s*&quot;worstRating&quot;:\s&quot;[^&quot;]*&quot;,\s*&quot;ratingValue&quot;:\s&quot;([0-9.]+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBRatings>

	<GetIMDBTOP250ById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBTOP250&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBTOP250ById>
	<ParseIMDBTOP250 dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;top250&gt;\1&lt;/top250&gt;" dest="2">
				<expression>Top\sRated\sMovies\s#([0-9]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBTOP250>

	<GetIMDBStudioById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBStudio&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBStudioById>
	<ParseIMDBStudio dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;studio&gt;\1&lt;/studio&gt;" dest="2">
				<expression>&quot;/company/[^&quot;]+&quot;\s*&gt;([^&lt;]+)&lt;/a&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBStudio>

	<GetIMDBCountryById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBCountry&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBCountryById>
	<ParseIMDBCountry dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Country:[^&gt;]+&gt;(.*?)&lt;/div&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;country&gt;\1&lt;/country&gt;" dest="2">
				<expression repeat="yes">&gt;([^&lt;]+)&lt;/a&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBCountry>

	<GetMetaCriticRatingById dest="5">	<!-- Compatibility function for Pre-Krypton versions-->
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-criticreviews.html&quot; function=&quot;ParseMetaCriticRating&quot;&gt;http://www.imdb.com/title/$$1/criticreviews|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetMetaCriticRatingById>
	<ParseMetaCriticRating dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">&lt;div\sclass=&quot;metascore_block&quot;(.*?)Metacritic.com&lt;/a&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;rating max=&quot;100&quot;&gt;\1&lt;/value&gt;" dest="2">
				<expression clear="yes">&lt;span\sitemprop=&quot;ratingValue&quot;&gt;(\d+)&lt;/span&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="2+">
				<expression>&lt;span\sitemprop=&quot;ratingCount&quot;&gt;(\d+)&lt;/span&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseMetaCriticRating>

	<GetMetaCriticRatingsById dest="5" clearbuffers="no">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;\1-criticreviews.html&quot; function=&quot;ParseMetaCriticRatings&quot;&gt;http://www.imdb.com/title/\1/criticreviews|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1">(tt\d+)</expression>
		</RegExp>
		<RegExp input="$$1" output="default=&quot;true&quot;" dest="3">
			<expression clear="yes">\|default$</expression>
		</RegExp>
	</GetMetaCriticRatingsById>
	<ParseMetaCriticRatings dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$4" output="&lt;ratings&gt;&lt;rating name=&quot;metacritic&quot; max=&quot;100&quot; $$3&gt;\1&lt;/rating&gt;&lt;/ratings&gt;" dest="2">
				<RegExp input="$$1" output="\1" dest="6">
					<expression clear="yes" noclean="1">&lt;div\sclass=&quot;metascore_block&quot;(.*?)Metacritic.com&lt;/a&gt;</expression>
				</RegExp>
				<RegExp input="$$6" output="&lt;value&gt;\1&lt;/value&gt;" dest="4">
					<expression clear="yes">&lt;span\sitemprop=&quot;ratingValue&quot;&gt;(\d+)&lt;/span&gt;</expression>
				</RegExp>
				<RegExp input="$$6" output="&lt;votes&gt;\1&lt;/votes&gt;" dest="4+">
					<expression>&lt;span\sitemprop=&quot;ratingCount&quot;&gt;(\d+)&lt;/span&gt;</expression>
				</RegExp>
				<expression noclean="1" clear="yes"/>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseMetaCriticRatings>

	<GetIMDBPlotById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBPlot&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBPlotById>
	<ParseIMDBPlot dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;plot&gt;\1&lt;/plot&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;h2&gt;Storyline&lt;/h2&gt;\s+&lt;div\sclass=&quot;inline\scanwrap&quot;&gt;\s+&lt;p&gt;\s+&lt;span&gt;(.*?)&lt;/span&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBPlot>

	<GetIMDBTaglineById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBTagline&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBTaglineById>
	<ParseIMDBTagline dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;tagline&gt;\1&lt;/tagline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;h4[^&gt;]*?&gt;Taglines:&lt;/h4&gt;\n?([^&lt;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBTagline>

	<GetIMDBOutlineById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBOutline&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBOutlineById>
	<ParseIMDBOutline dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;div\sclass</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;a\shref=&quot;(.+?)=tt_ov_pl&quot;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;a\shref=&quot;[^&quot;]*&quot;\s*&gt;Add\sa\sPlot</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBOutline>

	<GetIMDBOutlineToPlotById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBOutlineToPlot&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBOutlineToPlotById>
	<ParseIMDBOutlineToPlot dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;div\sclass</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;a\shref=&quot;(.+?)=tt_ov_pl&quot;</expression>
			</RegExp>
			<RegExp input="$$1" output="&lt;outline&gt;\1&lt;/outline&gt;" dest="2">
				<expression fixchars="1" trim="1">&lt;div class=&quot;summary_text&quot;&gt;(.+?)&lt;a\shref=&quot;[^&quot;]*&quot;\s*&gt;Add\sa\sPlot</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBOutlineToPlot>

	<GetIMDBCastById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBCast&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBCastById>
	<ParseIMDBCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1">&lt;table\sclass=&quot;cast_list&quot;&gt;(.*?)&lt;/table&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;\2\3SX1024_SY1024_.jpg&lt;/thumb&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\5&lt;/role&gt;&lt;/actor&gt;" dest="7">
				<expression repeat="yes" clear="yes" trim="3,4" noclean="1,2">&lt;img[^a]*alt=&quot;([^&quot;]*)&quot;[^&quot;]*&quot;[^&quot;]*&quot;[^s]*src=&quot;(?:[^&quot;]*\.[^&quot;]*&quot;\sclass=&quot;loadlate\shidden\s&quot;\sloadlate=&quot;([^&quot;]*)(_V..?_))[^&gt;]*.*?ter&quot;&gt;[^&gt;]*&gt;(&lt;[^&gt;]*&gt;)?([^&lt;\(]*)?</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;&lt;/thumb&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;" dest="7+">
				<expression repeat="yes" trim="1,2,3" fixchars="3" noclean="1,2">&lt;img[^a]*alt=&quot;([^&quot;]*)&quot;[^&quot;]*&quot;[^&quot;]*&quot;[^s]*src=&quot;(?:[^&quot;]*\.[^&quot;]*\.png)&quot;\sclass=&quot;.*?&quot;\s/&gt;*.*?ter&quot;&gt;[^&gt;]*&gt;(&lt;[^&gt;]*&gt;)?([^&lt;\(]*)?</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;\2&lt;/actor&gt;" dest="2+">
				<expression repeat="yes" clear="yes" noclean="1,2,3">&lt;actor&gt;&lt;thumb&gt;(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)?&lt;/thumb&gt;(.*?)&lt;/actor&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBCast>

	<GetIMDBDirectorsById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBDirectors&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBDirectorsById>
	<ParseIMDBDirectors dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Director(?:s)?:.*?&lt;/h4&gt;(.*?)&lt;div class</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;director&gt;\1&lt;/director&gt;" dest="2">
				<expression repeat="yes" fixchars="yes" clear="yes">href=&quot;/name[^&gt;]*&gt;([^&lt;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBDirectors>

	<GetIMDBWritersById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBWriters&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBWritersById>
	<ParseIMDBWriters dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Writer(?:s)?:.*?&lt;/h4&gt;(.*?)&lt;div class</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2">
				<expression repeat="yes" fixchars="yes" clear="yes">href=&quot;/name[^&gt;]*&gt;([^&lt;]*)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBWriters>

	<GetIMDBFullCastById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBFullCast&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBFullCastById>
	<ParseIMDBFullCast dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1">&lt;table\sclass=&quot;cast_list&quot;&gt;(.*?)&lt;/table&gt;</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;\2\3SX1024_SY1024_.jpg&lt;/thumb&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\5&lt;/role&gt;&lt;/actor&gt;" dest="7">
				<expression repeat="yes" clear="yes" trim="3,4" noclean="1,2">&lt;img[^a]*alt=&quot;([^&quot;]*)&quot;[^&quot;]*&quot;[^&quot;]*&quot;[^s]*src=&quot;(?:[^&quot;]*\.[^&quot;]*&quot;\sclass=&quot;loadlate\shidden\s&quot;\sloadlate=&quot;([^&quot;]*)(_V..?_))[^&gt;]*.*?ter&quot;&gt;[^&gt;]*&gt;\n\s*(&lt;[^&gt;]*&gt;)?([^&lt;\(]*)?</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;actor&gt;&lt;thumb&gt;&lt;/thumb&gt;&lt;name&gt;\1&lt;/name&gt;&lt;role&gt;\3&lt;/role&gt;&lt;/actor&gt;" dest="7+">
				<expression repeat="yes" trim="1,2,3" fixchars="3" noclean="1,2">&lt;img[^a]*alt=&quot;([^&quot;]*)&quot;[^&quot;]*&quot;[^&quot;]*&quot;[^s]*src=&quot;(?:[^&quot;]*\.[^&quot;]*\.png)&quot;\sclass=&quot;.*?&quot;\s/&gt;*.*?ter&quot;&gt;[^&gt;]*&gt;\n\s*(&lt;[^&gt;]*&gt;)?([^&lt;\(]*)?</expression>
			</RegExp>
			<RegExp input="$$7" output="&lt;actor&gt;&lt;thumb&gt;\1&lt;/thumb&gt;\2&lt;/actor&gt;" dest="2+">
				<expression repeat="yes" clear="yes" noclean="1,2,3">&lt;actor&gt;&lt;thumb&gt;(?:(http.*?)|_SX[0-9]+_SY[0-9]+_)?&lt;/thumb&gt;(.*?)&lt;/actor&gt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBFullCast>

	<GetIMDBFullDirectorsById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBFullDirectors&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBFullDirectorsById>
	<ParseIMDBFullDirectors dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression clear="yes" noclean="1">Director(?:s)?:.*?ipl-inline-list[^&gt;]*&gt;(.*?)&lt;/div</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;director&gt;\1&lt;/director&gt;" dest="2">
				<expression repeat="yes" fixchars="1">&lt;a href=&quot;/name/[^&gt;]*&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBFullDirectors>

	<GetIMDBFullWritersById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBFullWriters&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBFullWritersById>
	<ParseIMDBFullWriters dest="5">
		<RegExp input="$$2" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\1" dest="6">
				<expression noclean="1">Writer(?:s)?:.*?ipl-inline-list[^&gt;]*&gt;(.*?)&lt;/div</expression>
			</RegExp>
			<RegExp input="$$6" output="&lt;credits&gt;\1&lt;/credits&gt;" dest="2">
				<expression repeat="yes" fixchars="1">&lt;a href=&quot;/name/[^&gt;]*&gt;([^&lt;]*)&lt;</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBFullWriters>

	<GetIMDBThumbsById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-main.html&quot; function=&quot;ParseIMDBThumbs&quot;&gt;http://www.imdb.com/title/$$1/|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBThumbsById>
	<ParseIMDBThumbs dest="5">
		<RegExp input="$$6" output="&lt;details&gt;\1&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="&lt;thumb aspect=&quot;poster&quot;&gt;\1\2.jpg&lt;/thumb&gt;" dest="6">
				<expression noclean="1">Poster&quot;\s*src=&quot;(.*?)(_V._)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBThumbs>

	<GetIMDBUSACert dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBUSACert&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBUSACert>
	<ParseIMDBUSACert dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;mpaa&gt;$INFO[certprefix]\1&lt;/mpaa&gt;&lt;/details&gt;" dest="5">
			<expression>&gt;\s*United\sStates:(TV-(Y7?|P?G|14|MA))&lt;/a&gt;</expression>
		</RegExp>
		<RegExp input="$$1" output="&lt;details&gt;&lt;mpaa&gt;$INFO[certprefix]\1&lt;/mpaa&gt;&lt;/details&gt;" dest="5">
			<expression>&gt;\s*United\sStates:(P?G|PG-13|R|NC-17)&lt;/a&gt;</expression>
		</RegExp>
		<RegExp input="$$1" output="&lt;details&gt;&lt;mpaa&gt;$INFO[certprefix]\1&lt;/mpaa&gt;&lt;/details&gt;" dest="5">
			<expression>MPAA&lt;/a&gt;:&lt;/h5&gt;&lt;div\sclass=&quot;info-content&quot;&gt;Rated\s(P?G|PG-13|R|NC-17)</expression>
		</RegExp>
	</ParseIMDBUSACert>

	<GetIMDBCountryCert dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBCountryCert&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
		<RegExp input="$INFO[imdbcertcountry]" output="$$2" dest="5">
			<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-reference.html&quot; function=&quot;ParseIMDBUSACert&quot;&gt;http://www.imdb.com/title/$$1/reference|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="2">
				<expression noclean="1"/>
			</RegExp>
			<expression>United States</expression>
		</RegExp>
	</GetIMDBCountryCert>
	<ParseIMDBCountryCert dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;mpaa&gt;$INFO[certprefix]\1&lt;/mpaa&gt;&lt;/details&gt;" dest="5">
			<expression>&gt;\s*$INFO[imdbcertcountry]:([^&lt;]+)&lt;/a&gt;</expression>
		</RegExp>
	</ParseIMDBCountryCert>

	<GetIMDBAKATitlesById dest="5">
		<RegExp input="$$1" output="&lt;details&gt;&lt;url cache=&quot;$$1-releaseinfo.html&quot; function=&quot;ParseIMDBAKATitles&quot;&gt;http://www.imdb.com/title/$$1/releaseinfo|accept-language=en-us&lt;/url&gt;&lt;/details&gt;" dest="5">
			<expression noclean="1" />
		</RegExp>
	</GetIMDBAKATitlesById>
	<ParseIMDBAKATitles dest="5">
		<RegExp input="$$2" output="&lt;details&gt;&lt;title&gt;\1&lt;/title&gt;&lt;/details&gt;" dest="5">
			<RegExp input="$$1" output="\2" dest="2">
				<expression>'og:title'\scontent=&quot;(IMDb\s-\s)?(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? \([^\(]*?([0-9]{4})(?:–\s)?\)</expression>
			</RegExp>
			<RegExp input="$$10" output="\1" dest="4">
				<RegExp input="$$1" output="\1" dest="9">
					<expression>&lt;td&gt;\(original\stitle\)[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="9">
					<expression>class="originalTitle"&gt;([^&lt;]*)</expression>
				</RegExp>
				<RegExp input="$$9" output="\1" dest="10">
					<expression />
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression>'og:title'\scontent=&quot;(IMDb\s-\s)?(?:&amp;#x22;)?([^&quot;]*?)(?:&amp;#x22;)? \([^\(]*?([0-9]{4})(?:–\s)?\)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression clear="yes">&lt;td&gt;Hong Kong\s\(English[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression clear="yes">&lt;td&gt;Canada\s\(English[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression clear="yes">&lt;td&gt;UK&lt;[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression clear="yes">&lt;td&gt;World-wide\s\(English\stitle\)&lt;[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<RegExp input="$$1" output="\1" dest="11">
					<expression clear="yes">&lt;td&gt;USA&lt;[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
				</RegExp>
				<RegExp input="$$11" output="\1" dest="10">
					<expression>(.+)</expression>
				</RegExp>
				<expression noclean="1" />
			</RegExp>
			<RegExp input="$$4" output="\1" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="4">
				<expression>&lt;td&gt;$INFO[imdbakatitles][^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
			</RegExp>
			<RegExp input="$$1" output="\1" dest="4">
				<expression>&lt;td&gt;$INFO[imdbakatitles]&lt;[^&gt;]+&gt;[^&gt;]+&gt;([^&lt;]+)</expression>
			</RegExp>
			<RegExp input="$$4" output="\1" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<RegExp input="$INFO[imdbakatitles]" output="$$9" dest="4">
				<expression>Keep Original</expression>
			</RegExp>
			<RegExp input="$$4" output="\1" dest="2">
				<expression>(.+)</expression>
			</RegExp>
			<expression noclean="1" />
		</RegExp>
	</ParseIMDBAKATitles>

</scraperfunctions>