-
Notifications
You must be signed in to change notification settings - Fork 1
/
senscritique.xml
101 lines (101 loc) · 6.61 KB
/
senscritique.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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<scraper language="en" thumb="icon.png" date="2015-03-05" content="movies" framework="1.1" name="senscritique">
<NfoUrl dest="3">
<RegExp dest="3" output="<url>\1</url>" input="$$1">
<expression>(http://www.senscritique\.com/film/.*)</expression>
</RegExp>
</NfoUrl>
<CreateSearchUrl dest="3">
<RegExp dest="3" output="<url>http://www.senscritique.com/recherche?query=\1&amp;filter=movies</url>" input="$$1%20$$2">
<expression></expression>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="3">
<RegExp dest="3" output="<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<results sorted="yes">\1</results>" input="$$5">
<RegExp dest="5+" output="<entity>
<title>\2</title>
<url>http://senscritique.com\1</url>
<year>\3</year>
</entity>" input="$$1">
<expression repeat="yes" noclean="1"><a href="(/film/[^/]*/[0-9]*)" class="elco-anchor" [^>]*>([^<]*)</a>
[\t ]*
[\t ]*<span class="elco-date">\(([^<]*)\)</span></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp dest="3" output="<details>\1</details>" input="$$5">
<RegExp dest="5+" output="<title>\1</title>" input="$$6">
<RegExp dest="6" output="\1" input="$$1">
<RegExp dest="6" output="\1" input="$$1">
<expression><h1 class="pvi-product-title " itemprop="name" title="([^>]*)"></expression>
</RegExp>
<expression>class="pvi-product-originaltitle">([^<]*)</h1></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
<RegExp dest="5+" output="<year>\1</year>" input="$$6">
<RegExp dest="6" output="\1" input="$$1">
<expression><small class="pvi-product-year">\(([0-9]*)\)</small></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
<RegExp dest="5+" output="<thumb>http://media.senscritique.com/media/\1/source_big/\2</thumb>" input="$$1">
<expression><img class="pvi-hero-poster" itemprop="image" src="http://media.senscritique.com/media/([^/]*)/[^/]*/([^"]*\.jpg)"</expression>
</RegExp>
<RegExp dest="5+" output="<rating max="10">\1</rating>" input="$$1">
<expression><span itemprop="ratingValue" class="pvi-scrating-value">([^<]*)</span></expression>
</RegExp>
<RegExp dest="5+" output="<votes>\1</votes>" input="$$1">
<expression><span itemprop="ratingCount" class="d-hidden">([^<]*)</span></expression>
</RegExp>
<RegExp dest="5+" output="<director>\1</director>" input="$$1">
<expression><span itemscope itemprop="director" itemtype="http://schema.org/Person"> <a href="[^"]*" itemprop="url"> <span itemprop="name">([^<]*)</span></a></span></expression>
</RegExp>
<RegExp dest="5+" output="<originaltitle>\1</originaltitle>" input="$$1">
<expression>class="pvi-product-originaltitle">([^<]*)</h1></expression>
</RegExp>
<RegExp dest="5+" output="<plot>\1</plot>" input="$$1">
<expression><p class="pvi-productDetails-resume" data-rel="small-resume" itemprop="description">([^<]*)</p></expression>
</RegExp>
<RegExp dest="5+" output="<fanart><thumb>\1</thumb></fanart>" input="$$1">
<expression>data-sc-video-poster="([^"]*)"</expression>
</RegExp>
<RegExp dest="5+" output="<runtime>\1</runtime>" input="$$1">
<expression><meta itemprop="duration" content="[^"]*" />
[ \t]*([^m]*min)
</expression>
</RegExp>
<RegExp dest="5+" output="<url function="GetAdditionalDetails">http://www.senscritique.com/film/\1/\2/details</url>" input="$$1">
<expression><a href="/film/([^/]*)/([^/]*)/details"></expression>
</RegExp>
<RegExp dest="5+" output="<url function="GetTrailer">http://www.senscritique.com/film/\1/\2/videos</url>" input="$$1">
<expression><a href="/film/([^/]*)/([^/]*)/details"></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetDetails>
<GetAdditionalDetails dest="3">
<RegExp dest="3" output="<details>\1</details>" input="$$5">
<RegExp dest="5+" output="<actor>
<thumb>\1</thumb>
<name>\2</name>
<role>\3</role>
</actor>" input="$$1">
<expression repeat="yes">\t*<img itemprop="image" src="([^"]*)" [^>]*>
\t*<div class="ecot-contact-caption"[^>]*>
\t*<strong class="ecot-contact-label" itemprop="name">([^<]*)</strong>
\t*<span class="ecot-contact-role">([^<]*)</span></expression>
</RegExp>
<RegExp dest="5+" output="<actor>
<name>\1</name>
</actor>" input="$$1">
<expression repeat="yes"> <a href="/contact/[^"]*">([^<]*)</a></expression>
</RegExp>
<RegExp dest="5+" output="<genre>\1</genre>" input="$$1">
<expression repeat="yes"><li class="pde-detail">
\t*<a href="/films/oeuvres/[^"]*">([^<]*)</a></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetAdditionalDetails>
<GetTrailer dest="1">
<RegExp dest="1" output="<details>\1</details>" input="$$5">
<RegExp dest="5" output="<trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=\1</trailer>" input="$$1">
<expression>src="http://www.youtube.com/embed/([^?]*)?</expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetTrailer>
</scraper>