blob: b67027f78081712a69e43c2ba738f5fcaeffe952 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2013-05-29">
<NfoUrl dest="3">
<RegExp input="$$1" output="<url>http://musicbrainz.org/ws/2/artist/\1?inc=url-rels</url>" dest="3">
<expression>http://musicbrainz.org/artist/(.+)</expression>
</RegExp>
</NfoUrl>
<ResolveIDToUrl dest="3">
<RegExp input="$$1" output="<url>http://musicbrainz.org/ws/2/artist/\1?inc=url-rels</url>" dest="3">
<expression>(.+)</expression>
</RegExp>
</ResolveIDToUrl>
<CreateArtistSearchUrl dest="3">
<RegExp input="$$1" output="<url>http://search.musicbrainz.org/ws/2/artist/?fmt=xml&query=artist:"$$4"&limit=100</url>" dest="3">
<RegExp input="$$1" output="\1" dest="4">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$1" output="\1/\2\3" dest="7">
<expression noclean="1">(.+)([-!])(.+)</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20)</expression>
</RegExp>
<RegExp input="$$7" output="\1" dest="4">
<expression>(.+)</expression>
</RegExp>
<RegExp input="$$6" output="\1" dest="4">
<expression>(.+)</expression>
</RegExp>
<expression/>
</RegExp>
</CreateArtistSearchUrl>
<GetArtistSearchResults dest="8">
<RegExp input="$$5" output="<results sorted="yes">\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\2</title><genre>\7</genre><url cache="mb-\1-artist.xml">http://musicbrainz.org/ws/2/artist/\1?inc=url-rels</url></entity>" dest="9">
<expression repeat="yes" noclean="1">artist id="([^"]*)"(?:\stype="[^"]*")* ext:score="[^"]*"><name>([^<]*)</name>(<sort-name>[^<]*</sort-name>)?(<gender>[^<]*</gender>)?(<country>[^<]*</country>)?(<disambiguation>([^<]*))?</expression>
</RegExp>
<RegExp input="$$1" output="<entity><title>\2</title><genre>\7</genre><url cache="mb-\1-artist.xml">http://musicbrainz.org/ws/2/artist/\1?inc=url-rels</url></entity>" dest="9">
<expression repeat="yes" noclean="1">artist ext:score="[^"]*"(?:\stype="[^"]*")* id="([^"]*)"><name>([^<]*)</name>(<sort-name>[^<]*</sort-name>)?(<gender>[^<]*</gender>)?(<country>[^<]*</country>)?(<disambiguation>([^<]*))?</expression>
</RegExp>
<RegExp input="$$9" output="\1" dest="5">
<expression noclean="1">(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistSearchResults>
<GetArtistDetails dest="3" clearbuffers="no">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<!--MBID - Artist-->
<RegExp input="$$1" output="\1" dest="8">
<expression noclean="1"><artist(?:\stype="[^"]*")* id="([^"]*)"><name>([^<]*)</expression>
</RegExp>
<!--AMGID - Artist-->
<RegExp input="$$1" output="\2" dest="9">
<expression noclean="1">>http://(www.)?allmusic.com/artist/([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<musicBrainzArtistID>\1</musicBrainzArtistID><name>\2</name>" dest="5">
<expression noclean="1"><artist(?:\stype="[^"]*")* id="([^"]*)"><name>([^<]*)</expression>
</RegExp>
<RegExp input="$$8" conditional="fanarttvthumbs" output="<chain function="GetFanartTvArtistThumbsByMBID">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$8" conditional="tadbthumbs" output="<chain function="GetTADBArtistThumbsByMBID">$$8</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$8" conditional="htbthumbs" output="<chain function="GetHTBThumbsByMBID">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$8" conditional="fanarttvfanart" output="<chain function="GetFanartTvArtistFanartsByMBID">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$8" conditional="tadbfanart" output="<chain function="GetTADBArtistFanartsByMBID">$$8</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$8" conditional="htbfanart" output="<chain function="GetHTBFanartByMBID">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$9" output="<chain function="GetAMGData">\1</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$9" output="<chain function="AMGFallback">\1</chain>" dest="5+">
<expression noclean="1">^$</expression>
</RegExp>
<RegExp input="$INFO[discogsource]" output="<chain function="GetMBDiscographyByMBID">$$8</chain>" dest="5+">
<expression>MusicBrainz</expression>
</RegExp>
<RegExp input="$INFO[lifespansource]" output="<chain function="GetMBLafeSpanByMBID">$$8</chain>" dest="5+">
<expression>MusicBrainz</expression>
</RegExp>
<RegExp input="$INFO[biogsource]" output="<chain function="GetTADBBiographyByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[genressource]" output="<chain function="GetTADBArtistGenresByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[stylessource]" output="<chain function="GetTADBArtistStylesByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[moodssource]" output="<chain function="GetTADBArtistMoodsByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[discogsource]" output="<chain function="GetTADBDiscographyByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[lifespansource]" output="<chain function="GetTADBLifeSpanByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistDetails>
<GetAMGData dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="\1" dest="9">
<expression/>
</RegExp>
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="$INFO[discogsource]" output="<chain function="GetAMGDiscographyByAMGID">$$9</chain>" dest="2">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[lifespansource]" output="<chain function="GetAMGArtistLifeSpanByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[biogsource]" output="<chain function="GetAMGBiographyByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[genressource]" output="<chain function="GetAMGArtistGenresByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[stylessource]" output="<chain function="GetAMGArtistStylesByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[moodssource]" output="<chain function="GetAMGArtistMoodsByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$INFO[yearsasource]" output="<chain function="GetAMGArtistYearsActiveByAMGID">$$9</chain>" dest="2+">
<expression>allmusic.com</expression>
</RegExp>
<RegExp input="$$9" conditional="allmusicartistthumbs" output="<chain function="GetAMGArtistThumbsByAMGID">\1</chain>" dest="2+">
<expression/>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetAMGData>
<AMGFallback dest="5" clearbuffers="no">
<RegExp input="$$11" output="<details>\1</details>" dest="5">
<RegExp input="$INFO[discogfbsource]" output="<chain function="GetMBDiscographyByMBID">$$8</chain>" dest="11+">
<expression>MusicBrainz</expression>
</RegExp>
<RegExp input="$INFO[lifespanfbsource]" output="<chain function="GetMBLafeSpanByMBID">$$8</chain>" dest="11+">
<expression>MusicBrainz</expression>
</RegExp>
<RegExp input="$INFO[stylesfbsource]" output="<chain function="GetTADBArtistStylesByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<RegExp input="$INFO[moodsfbsource]" output="<chain function="GetTADBArtistMoodsByMBID">$$8</chain>" dest="5+">
<expression>TheAudioDb.com</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</AMGFallback>
</scraper>
|