blob: 1070cd772340e76d60a9c68a28ab7a5c995f01cf (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2010-02-24" language="en">
<GetSettings dest="3">
<RegExp input="$$5" output="<settings>\1</settings>" dest="3">
<RegExp input="$$1" output="<setting label="Enable Fanart" type="bool" id="fanart" 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>
<expression noclean="1"/>
</RegExp>
</GetSettings>
<CreateSearchUrl dest="3">
<RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.search/en/xml/57983e31fb435df4df77afb854740ea9/\1</url>" dest="3">
<RegExp input="$$2" output="%20(\1)" dest="4">
<expression clear="yes">(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</CreateSearchUrl>
<NfoUrl dest="3">
<RegExp input="$$1" output="<url>http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2</url><id>\2</id>" dest="3">
<expression clear="yes" noclean="1">(themoviedb.org/movie/)([0-9]*)</expression>
</RegExp>
<RegExp input="$$1" output="<url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/57983e31fb435df4df77afb854740ea9/tt\2</url>" dest="3+">
<expression>(imdb.com/title/tt)([0-9]*)</expression>
</RegExp>
<RegExp input="$$1" output="<url function="GetTMDBId">http://api.themoviedb.org/2.1/Movie.imdbLookup/en/xml/57983e31fb435df4df77afb854740ea9/tt\2</url>" dest="3+">
<expression>(imdb.com/)Title\?([0-9]+)</expression>
</RegExp>
</NfoUrl>
<GetTMDBId dest="3">
<RegExp input="$$1" output="<url cache="tmdb-\1.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\1</url><id>\1</id>" dest="3+">
<expression><id>([0-9]*)</id></expression>
</RegExp>
</GetTMDBId>
<GetSearchResults dest="8">
<RegExp input="$$3" output="<results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\1</title><id>\2</id><url cache="tmdb-\2.xml">http://api.themoviedb.org/2.1/Movie.getInfo/en/xml/57983e31fb435df4df77afb854740ea9/\2</url></entity>" dest="3">
<expression repeat="yes"><movie>.*?<name>([^<]*)</name>.*?<id>([^<]*)</id>.*?</movie></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<title>\1</title>" dest="5">
<expression><name>([^<]*)</name></expression>
</RegExp>
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
<expression><released>([0-9]+)-</expression>
</RegExp>
<RegExp input="$$1" output="<runtime>\1</runtime>" dest="5+">
<expression><runtime>([^<]*)</runtime></expression>
</RegExp>
<RegExp input="$$1" output="<rating>\1</rating>" dest="5+">
<expression><rating>([^<]*)</rating></expression>
</RegExp>
<RegExp input="$$1" output="<mpaa>\1</mpaa>" dest="5+">
<expression><certification>([^<]*)</certification></expression>
</RegExp>
<RegExp input="$$1" output="<genre>\1</genre>" dest="5+">
<expression repeat="yes"><category type="genre".*?name="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<studio>\1</studio>" dest="5+">
<expression repeat="yes"><studio.*?name="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<country>\1</country>" dest="5+">
<expression repeat="yes"><country.*?name="([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<plot>\1</plot>" dest="5+">
<expression><overview>([^<]*)</overview></expression>
</RegExp>
<RegExp input="$$1" output="<overview>\1</overview>" dest="5+">
<expression><overview>([^<]*)</overview></expression>
</RegExp>
<RegExp input="$$1" output="<director>\1</director>" dest="5+">
<expression repeat="yes"><person.*?name="([^"]*)" character="" job="Director"</expression>
</RegExp>
<RegExp input="$$1" output="<credits>\1</credits>" dest="5+">
<expression repeat="yes"><person.*?name="([^"]*)" character="" job="Author"</expression>
</RegExp>
<RegExp input="$$1" output="<actor><name>\1</name><role>\2</role></actor>" dest="5+">
<expression repeat="yes"><person.*?name="([^"]*)" character="([^"]*)" job="Actor"</expression>
</RegExp>
<RegExp input="$$1" output="<actor><name>\1</name><role>\2</role><thumb>http://\4\5</thumb></actor>" dest="5+">
<expression repeat="yes"><person.*?name="([^"]*)" character="([^"]*)" job="Actor" id="([0-9]+)" thumb="http://(.*?)_thumb([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<url cache="tmdb-$$2.xml" function="GetTMDBThumbsById">$$3</url>" dest="5+">
<expression/>
</RegExp>
<RegExp conditional="fanart" input="$$1" output="<url cache="tmdb-$$2.xml" function="GetTMDBFanartById">$$3</url>" dest="5+">
<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><name>([^<]*)</name></expression>
</RegExp>
<expression repeat="yes">([a-zA-Z0-9]+)</expression>
</RegExp>
<expression/>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetDetails>
</scraper>
|