blob: 6131998bbccdedd98ee26be4e2cf22f699b8a54e (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2013-05-29">
<NfoUrl dest="3">
<RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url>" dest="3">
<expression>musicbrainz.org/artist/(.+)</expression>
</RegExp>
</NfoUrl>
<ResolveIDToUrl dest="3">
<RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url>" dest="3">
<expression>(.+)</expression>
</RegExp>
</ResolveIDToUrl>
<CreateArtistSearchUrl dest="3">
<RegExp input="$$1" output="<url>$INFO[mbsite]/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" dest="6">
<expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20)</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><url cache="mb-\1-artist.xml">$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url></entity>" dest="9">
<expression repeat="yes" noclean="1">artist\sid="([^"]*)"(?:\stype="[^"]*")*(?:\stype-id="[^"]*")*?\s.*?score="[^"]*"><name>([^<]*)</name>(<sort-name>[^<]*</sort-name>)?</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="5">
<expression noclean="1"><artist(.*?)<name>([^<]*)</expression>
</RegExp>
<RegExp input="$$5" output="\1" dest="8">
<expression noclean="1">\sid="([^"]*)"</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>$$8</musicBrainzArtistID><name>\1</name>" dest="5">
<expression noclean="1"><artist.*?<name>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<sortname>\1</sortname>" dest="5+">
<expression noclean="1"><artist.*?<sort-name>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<type>\1</type>" dest="5+">
<expression noclean="1"><artist.*?\stype="([Person|Group|Orchestra|Choir|Character|Other])"</expression>
</RegExp>
<RegExp input="$$1" output="<gender>\1</gender>" dest="5+">
<expression noclean="1"><gender.*?>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<disambiguation>\1</disambiguation>" dest="5+">
<expression noclean="1"><disambiguation>([^<]*)</expression>
</RegExp>
<RegExp input="$$8" conditional="fanarttvthumbs" output="<chain function="GetFanartTvArtistThumbsByMBID">\1</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="fanarttvartistcl" output="<chain function="GetFanartTvArtistClearlogoByMBID">\1</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="fanarttvartistbanner" output="<chain function="GetFanartTvArtistBannerByMBID">\1</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbthumbs" output="<chain function="GetTADBArtistThumbsByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbartistclearlogo" output="<chain function="GetTADBArtistClearlogoByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbartistclearart" output="<chain function="GetTADBArtistClearartByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbartistlandscape" output="<chain function="GetTADBArtistLandscapeByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbartistbanner" output="<chain function="GetTADBArtistBannerByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="fanarttvfanart" output="<chain function="GetFanartTvArtistFanartsByMBID">\1</chain>" dest="5+">
<expression noclean="1">(.+)</expression>
</RegExp>
<RegExp input="$$8" conditional="tadbfanart" output="<chain function="GetTADBArtistFanartsByMBID">$$8</chain>" dest="5+">
<expression noclean="1">(.+)</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>
<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>
|