1 <?xml version="1.0" encoding="UTF-8"?>
2 <scraper framework="1.1" date="2013-05-29">
4 <RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url>" dest="3">
5 <expression>musicbrainz.org/artist/(.+)</expression>
8 <ResolveIDToUrl dest="3">
9 <RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url>" dest="3">
10 <expression>(.+)</expression>
14 <CreateArtistSearchUrl dest="3">
15 <RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/artist/?fmt=xml&query=artist:"$$4"&limit=100</url>" dest="3">
16 <RegExp input="$$1" output="\1" dest="4">
17 <expression noclean="1">(.+)</expression>
19 <RegExp input="$$1" output="\1" dest="6">
20 <expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20)</expression>
22 <RegExp input="$$6" output="\1" dest="4">
23 <expression>(.+)</expression>
27 </CreateArtistSearchUrl>
28 <GetArtistSearchResults dest="8">
29 <RegExp input="$$5" output="<results sorted="yes">\1</results>" dest="8">
30 <RegExp input="$$1" output="<entity><title>\2</title><disambiguation>\4</disambiguation><url cache="mb-\1-artist.xml">$INFO[mbsite]/ws/2/artist/\1?inc=url-rels</url></entity>" dest="9">
31 <expression repeat="yes" noclean="1">artist\sid="([^"]*)"(?:\stype="[^"]*")*(?:\stype-id="[^"]*")*?\s.*?score="[^"]*"><name>([^<]*)</name>(<sort-name>[^<]*</sort-name>)?(?:<gender>[^<]*</gender>)*(?:<country>[^<]*</country>)*(?:<area.*?</area>)*(?:<begin-area.*?</begin-area>)*(?:<disambiguation>(.*?)</disambiguation>)*</expression>
33 <RegExp input="$$9" output="\1" dest="5">
34 <expression noclean="1">(.+)</expression>
36 <expression noclean="1"/>
38 </GetArtistSearchResults>
39 <GetArtistDetails dest="3" clearbuffers="no">
40 <RegExp input="$$5" output="<details>\1</details>" dest="3">
42 <RegExp input="$$1" output="\1" dest="5">
43 <expression noclean="1"><artist(.*?)<name>([^<]*)</expression>
45 <RegExp input="$$5" output="\1" dest="8">
46 <expression noclean="1">\sid="([^"]*)"</expression>
49 <RegExp input="$$1" output="\2" dest="9">
50 <expression noclean="1">>http.?://(www.)?allmusic.com/artist/([^<]*)</expression>
52 <RegExp input="$$1" output="<musicBrainzArtistID>$$8</musicBrainzArtistID><name>\1</name>" dest="5">
53 <expression noclean="1"><artist.*?<name>([^<]*)</expression>
55 <RegExp input="$$1" output="<sortname>\1</sortname>" dest="5+">
56 <expression noclean="1"><artist.*?<sort-name>([^<]*)</expression>
58 <RegExp input="$$1" output="<type>\1</type>" dest="5+">
59 <expression noclean="1"><artist.*?\stype="(Person|Group|Orchestra|Choir|Character|Other)"</expression>
61 <RegExp input="$$1" output="<gender>\1</gender>" dest="5+">
62 <expression noclean="1"><gender.*?>([^<]*)</expression>
64 <RegExp input="$$1" output="<disambiguation>\1</disambiguation>" dest="5+">
65 <expression noclean="1"><disambiguation>([^<]*)</expression>
67 <RegExp input="$$8" conditional="fanarttvthumbs" output="<chain function="GetFanartTvArtistThumbsByMBID">\1</chain>" dest="5+">
68 <expression noclean="1">(.+)</expression>
70 <RegExp input="$$8" conditional="fanarttvartistcl" output="<chain function="GetFanartTvArtistClearlogoByMBID">\1</chain>" dest="5+">
71 <expression noclean="1">(.+)</expression>
73 <RegExp input="$$8" conditional="fanarttvartistbanner" output="<chain function="GetFanartTvArtistBannerByMBID">\1</chain>" dest="5+">
74 <expression noclean="1">(.+)</expression>
76 <RegExp input="$$8" conditional="tadbthumbs" output="<chain function="GetTADBArtistThumbsByMBID">$$8</chain>" dest="5+">
77 <expression noclean="1">(.+)</expression>
79 <RegExp input="$$8" conditional="tadbartistclearlogo" output="<chain function="GetTADBArtistClearlogoByMBID">$$8</chain>" dest="5+">
80 <expression noclean="1">(.+)</expression>
82 <RegExp input="$$8" conditional="tadbartistclearart" output="<chain function="GetTADBArtistClearartByMBID">$$8</chain>" dest="5+">
83 <expression noclean="1">(.+)</expression>
85 <RegExp input="$$8" conditional="tadbartistlandscape" output="<chain function="GetTADBArtistLandscapeByMBID">$$8</chain>" dest="5+">
86 <expression noclean="1">(.+)</expression>
88 <RegExp input="$$8" conditional="tadbartistbanner" output="<chain function="GetTADBArtistBannerByMBID">$$8</chain>" dest="5+">
89 <expression noclean="1">(.+)</expression>
91 <RegExp input="$$8" conditional="fanarttvfanart" output="<chain function="GetFanartTvArtistFanartsByMBID">\1</chain>" dest="5+">
92 <expression noclean="1">(.+)</expression>
94 <RegExp input="$$8" conditional="tadbfanart" output="<chain function="GetTADBArtistFanartsByMBID">$$8</chain>" dest="5+">
95 <expression noclean="1">(.+)</expression>
97 <RegExp input="$$9" output="<chain function="GetAMGData">\1</chain>" dest="5+">
98 <expression noclean="1">(.+)</expression>
100 <RegExp input="$$9" output="<chain function="AMGFallback">\1</chain>" dest="5+">
101 <expression noclean="1">^$</expression>
103 <RegExp input="$INFO[discogsource]" output="<chain function="GetMBDiscographyByMBID">$$8</chain>" dest="5+">
104 <expression>MusicBrainz</expression>
106 <RegExp input="$INFO[lifespansource]" output="<chain function="GetMBLafeSpanByMBID">$$8</chain>" dest="5+">
107 <expression>MusicBrainz</expression>
109 <RegExp input="$INFO[biogsource]" output="<chain function="GetTADBBiographyByMBID">$$8</chain>" dest="5+">
110 <expression>TheAudioDb.com</expression>
112 <RegExp input="$INFO[genressource]" output="<chain function="GetTADBArtistGenresByMBID">$$8</chain>" dest="5+">
113 <expression>TheAudioDb.com</expression>
115 <RegExp input="$INFO[stylessource]" output="<chain function="GetTADBArtistStylesByMBID">$$8</chain>" dest="5+">
116 <expression>TheAudioDb.com</expression>
118 <RegExp input="$INFO[moodssource]" output="<chain function="GetTADBArtistMoodsByMBID">$$8</chain>" dest="5+">
119 <expression>TheAudioDb.com</expression>
121 <RegExp input="$INFO[discogsource]" output="<chain function="GetTADBDiscographyByMBID">$$8</chain>" dest="5+">
122 <expression>TheAudioDb.com</expression>
124 <RegExp input="$INFO[lifespansource]" output="<chain function="GetTADBLifeSpanByMBID">$$8</chain>" dest="5+">
125 <expression>TheAudioDb.com</expression>
127 <expression noclean="1"/>
131 <GetAMGData dest="5" clearbuffers="no">
132 <RegExp input="$$2" output="<details>\1</details>" dest="5">
133 <RegExp input="$$1" output="\1" dest="9">
136 <RegExp input="" output="" dest="2">
139 <RegExp input="$INFO[discogsource]" output="<chain function="GetAMGDiscographyByAMGID">$$9</chain>" dest="2">
140 <expression>allmusic.com</expression>
142 <RegExp input="$INFO[lifespansource]" output="<chain function="GetAMGArtistLifeSpanByAMGID">$$9</chain>" dest="2+">
143 <expression>allmusic.com</expression>
145 <RegExp input="$INFO[biogsource]" output="<chain function="GetAMGBiographyByAMGID">$$9</chain>" dest="2+">
146 <expression>allmusic.com</expression>
148 <RegExp input="$INFO[genressource]" output="<chain function="GetAMGArtistGenresByAMGID">$$9</chain>" dest="2+">
149 <expression>allmusic.com</expression>
151 <RegExp input="$INFO[stylessource]" output="<chain function="GetAMGArtistStylesByAMGID">$$9</chain>" dest="2+">
152 <expression>allmusic.com</expression>
154 <RegExp input="$INFO[moodssource]" output="<chain function="GetAMGArtistMoodsByAMGID">$$9</chain>" dest="2+">
155 <expression>allmusic.com</expression>
157 <RegExp input="$INFO[yearsasource]" output="<chain function="GetAMGArtistYearsActiveByAMGID">$$9</chain>" dest="2+">
158 <expression>allmusic.com</expression>
160 <expression noclean="1" />
164 <AMGFallback dest="5" clearbuffers="no">
165 <RegExp input="$$11" output="<details>\1</details>" dest="5">
166 <RegExp input="$INFO[discogfbsource]" output="<chain function="GetMBDiscographyByMBID">$$8</chain>" dest="11+">
167 <expression>MusicBrainz</expression>
169 <RegExp input="$INFO[lifespanfbsource]" output="<chain function="GetMBLafeSpanByMBID">$$8</chain>" dest="11+">
170 <expression>MusicBrainz</expression>
172 <RegExp input="$INFO[stylesfbsource]" output="<chain function="GetTADBArtistStylesByMBID">$$8</chain>" dest="5+">
173 <expression>TheAudioDb.com</expression>
175 <RegExp input="$INFO[moodsfbsource]" output="<chain function="GetTADBArtistMoodsByMBID">$$8</chain>" dest="5+">
176 <expression>TheAudioDb.com</expression>
178 <expression noclean="1" />