-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathamdb.xml
139 lines (139 loc) · 8.18 KB
/
amdb.xml
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
<?xml version="1.0" encoding="utf-8"?><scraper framework="1.1" date="2016-10-01" content="movies" language="en">
<NfoUrl dest="3">
<RegExp input="$$1" output="\1" dest="3">
<expression>http://www.elcinema.com/en/work/([0-9]*)/</expression>
</RegExp>
</NfoUrl>
<CreateSearchUrl dest="3">
<RegExp input="$$1" output="<url>http://www.elcinema.com/search/?q=\1</url>" dest="3">
<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="<entity><title>\2</title><url>http://www.elcinema.com/work/\1/</url></entity>" dest="5">
<expression repeat="yes"><a href="/work/([0-9]*)/">(.[^<]*)</a></expression>
</RegExp>
<expression trim="1" noclean="1" />
</RegExp>
<RegExp conditional="English content" input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\2</title><url>http://www.elcinema.com/en/work/\1/</url></entity>" dest="5">
<expression repeat="yes"><a href="/work/([0-9]*)/">(.[^<]*)</a></expression>
</RegExp>
<expression trim="1" noclean="1" />
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp input="$$8" output="<details>\1</details>" dest="3">
<!--Titles, year !-->
<RegExp input="$$1" output="<title>\3 (\1)</title> <originaltitle>\1</originaltitle> <year>\2</year>" dest="8+">
<expression trim="1" noclean="1"><h1>\n <span class="left">(.[^<]*)</span>\n <span class="left">\n &nbsp;\(([0-9]*)\)\n </span>\n <span class="right">(.[^<]*)</span>\n </h1></expression>
</RegExp>
<!--Director's names !-->
<RegExp input="$$7" output="<director>\1</director> " dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">ﺇﺧﺮاﺝ:(.[^:]*)ﺗﺄﻟﻴﻒ:</expression>
</RegExp>
<expression repeat="yes" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--Writers !-->
<RegExp input="$$7" output="<writer>\1</writer>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">ﺗﺄﻟﻴﻒ:(.[^:]*)طاقم العمل:</expression>
</RegExp>
<expression repeat="yes" trim="1" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--Runtime !-->
<RegExp input="$$1" output="<runtime>\1 minutes</runtime>" dest="8+">
<expression noclean="1"><li>([0-9]*) دقيقة</li></expression>
</RegExp>
<!--Thumbnail !-->
<RegExp input="$$7" output="<thumb>http://photo.elcinema.com.s3.amazonaws.com/uploads/\1</thumb>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1"><span class="left">(.*)<div class="stars-orange\-60"></expression>
</RegExp>
<expression><img src="http://photo.elcinema.com.s3.amazonaws.com/uploads/(.[^"]*)"</expression>
</RegExp>
<!--Genres !-->
<RegExp input="$$1" output="<genre>\2</genre>" dest="8+">
<expression repeat="yes" noclean="1"><a href="/index/genre/([0-9]*)/">(.[^<]*)</a></expression>
</RegExp>
<!--Cast !-->
<RegExp input="$$7" output="<actor><name>\1</name></actor>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression clear="yes" noclean="1">طاقم العمل:(.*)</i> شاهد الإعلان</a></expression>
</RegExp>
<expression repeat="yes" trim="1" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--outline !-->
<RegExp input="$$1" output="<outline>\2 \4</outline>" dest="8+">
<expression noclean="1">ملخص القصة:(.[^<]*)<p>(.[^<]*)<(.[^<]*)</a><span class='hide'>(.[^<]*)</span></expression>
</RegExp>
<!--Plot !-->
<RegExp input="$$1" output="<plot>\2 \4</plot>" dest="8+">
<expression noclean="1">القصة الكاملة:(.[^<]*)<p>(.[^<]*)<(.[^<]*)</a><span class='hide'>(.[^<]*)</span></expression>
</RegExp>
<!--Rating-->
<RegExp input="$$1" output="<rating>\1</rating>" dest="8+">
<expression><div class="stars-orange-60"><i class="fa fa-star"></i><div>([0-9]*)</div></div></expression>
</RegExp>
<expression noclean="1" />
</RegExp>
<!--English !-->
<RegExp conditional="English content" input="$$8" output="<details>\1</details>" dest="3">
<!--Titles, year !-->
<RegExp input="$$1" output="<title>\1 (\3)</title><originaltitle>\3</originaltitle><year>\2</year>" dest="8">
<expression trim="1" noclean="1"><h1>\n <span class="left">(.[^<]*)</span>\n <span class="left">\n &nbsp;\(([0-9]*)\)\n </span>\n <span class="right">(.[^<]*)</span>\n </h1></expression>
</RegExp>
<!--Titles-2-, year !-->
<RegExp input="$$1" output="<title>\3 (\2)</title> <year>\2</year>" dest="8+">
<expression trim="1" noclean="1"><h1>\n <span class="left">(.[^<]*)\n <span class="left">\n &nbsp;\(([0-9]*)\)\n </span>\n <span class="right">(.[^<]*)</span>\n </h1></expression>
</RegExp>
<!--Director's names !-->
<RegExp input="$$7" output="<director>\1</director>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">Director:(.[^:]*)Writer:</expression>
</RegExp>
<expression repeat="yes" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--Writers !-->
<RegExp input="$$7" output="<writers><name>\1</name></writers>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">Writer:(.[^:]*)Cast:</expression>
</RegExp>
<expression repeat="yes" trim="1" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--Runtime !-->
<RegExp input="$$1" output="<runtime>\1 minutes</runtime>" dest="8+">
<expression noclean="1"><li>([0-9]*) minutes</li></expression>
</RegExp>
<!--Thumbnail !-->
<RegExp input="$$7" output="<thumb>http://photo.elcinema.com.s3.amazonaws.com/uploads/\1</thumb>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1"><span class="left">(.*)<div class="stars-orange\-60"></expression>
</RegExp>
<expression><img src="http://photo.elcinema.com.s3.amazonaws.com/uploads/(.[^"]*)"</expression>
</RegExp>
<!--Genres !-->
<RegExp input="$$1" output="<genre>\1</genre>" dest="8+">
<expression repeat="yes" noclean="1"><a href="/en/index/genre/([0-9]*)/">(.[^<]*)</a></expression>
</RegExp>
<!--Cast !-->
<RegExp input="$$7" output="<actor><name>\1</name></actor>" dest="8+">
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1"><li>Cast:(.*) Trailer</a></expression>
</RegExp>
<expression repeat="yes" trim="1" noclean="1">>(.[^<>]*)</a></expression>
</RegExp>
<!--Plot !-->
<RegExp input="$$1" output="<plot>\1 \3</plot>" dest="8+">
<expression noclean="1"><strong>Synopses:</strong>\n<p>(.[^<]*)<(.[^<]*)</a><span class='hide'>(.[^<]*)</span></expression>
</RegExp>
<!--Rating-->
<RegExp input="$$1" output="<rating>\1</rating>" dest="8+">
<expression noclean="1"><div class="stars-orange-60"><i class="fa fa-star"></i><div>([0-9]*)</div></div></expression>
</RegExp>
<expression clear="yes" noclean="1" />
</RegExp>
</GetDetails>
</scraper>