1 <?xml version="1.0" encoding="UTF-8"?>
2 <scraper framework="1.1" date="2013-05-29">
4 <RegExp input="$$1" output="<url cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url>" dest="3">
5 <expression>release/(.+)</expression>
8 <ResolveIDToUrl dest="3">
9 <RegExp input="$$1" output="<url cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url>" dest="3">
10 <expression>(.+)</expression>
13 <CreateAlbumSearchUrl dest="3">
14 <RegExp input="$$1" output="<url>$INFO[mbsite]/ws/2/release/?fmt=xml&query=release:%22\1%22%20AND%20(artistname:%22$$4%22%20OR%20artist:%22$$4%22)</url>" dest="3">
15 <RegExp input="$$2" output="\1" dest="4">
16 <expression noclean="1">(.+)</expression>
18 <RegExp input="$$2" output="\1" dest="6">
19 <expression noclean="1">(.+)(?:Ft%2e|Feat%2e|%20Ft\.|%20Feat\.|%20and%20|%20\/)</expression>
21 <RegExp input="$$6" output="\1" dest="4">
22 <expression>(.+)</expression>
26 </CreateAlbumSearchUrl>
27 <GetAlbumSearchResults dest="8">
28 <RegExp input="$$5" output="<results sorted="yes">\1</results>" dest="8">
29 <RegExp input="$$1" output="<entity><year>\6-\5-T#\7</year><artist>\4</artist><title>\3</title><relevance scale="100">\2</relevance><url cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></entity>" dest="5">
30 <expression repeat="yes">release\sid="([^"]*)"[^:]*:score="(\d*)"><title>([^<]*)</title><status\sid[^>]*>Official</status>(?:<disambiguation>[^<]*</disambiguation>)*(?:<packaging[^<]*</packaging>)*<text-representation>(?:<language>[^<]*</language>)*(?:<script>[^<]*</script>)*</text-representation><artist-credit><name-credit(?:>)*(?:\sjoinphrase="[^"]*">)*(?:<name>[^<]*</name)*(?:>)*<artist\sid="[^"]*"><name>([^<]*)</name>(?:<sort-name>[^<]*</sort-name>)*(?:<disambiguation>[^<]*</disambiguation>)*(?:<alias-list>(?:<alias[^<]*</alias>)*</alias-list>)*</artist></name-credit>(?:<name-credit(?:>)*(?:\sjoinphrase="[^"]*">)*(?:<name>[^<]*</name)*(?:>)*<artist\sid="[^"]*"><name>[^<]*</name>(?:<sort-name>[^<]*</sort-name>)*(?:<disambiguation>[^<]*</disambiguation>)*(?:<alias-list>(?:<alias[^<]*</alias>)*</alias-list>)*</artist></name-credit>)*</artist-credit><release-group\sid="[^"]*"\stype="Album"\stype-id="[^"]*"><title>[^<]*</title>(?:<disambiguation>[^<]*</disambiguation>)*(?:<primary-type\sid="[^"]*">[^<]*</primary-type>)*(?:<secondary-type-list>(?:<secondary-type\sid="[^"]*">[^<]*</secondary-type>)+</secondary-type-list>)*</release-group>(?:<date>(\d{4})[^<]*</date>)*(?:<country>)*([^<]*)?.*?<track-list\scount="(\d+).*?</release></expression>
32 <RegExp input="$$1" output="<entity><year>\6-\5-T#\7</year><artist>\4</artist><title>\3</title><relevance scale="100">\2</relevance><url cache="mb-\1-album.xml">$INFO[mbsite]/ws/2/release/\1?inc=recordings+release-groups+artists+labels+ratings</url></entity>" dest="5+">
33 <expression repeat="yes">release\sid="([^"]*)"[^:]*:score="(\d*)"><title>([^<]*)</title><status\sid[^>]*>Official</status>(?:<disambiguation>[^<]*</disambiguation>)*(?:<packaging[^<]*</packaging>)*<text-representation>(?:<language>[^<]*</language>)*(?:<script>[^<]*</script>)*</text-representation><artist-credit><name-credit(?:>)*(?:\sjoinphrase="[^"]*">)*(?:<name>[^<]*</name)*(?:>)*<artist\sid="[^"]*"><name>([^<]*)</name>(?:<sort-name>[^<]*</sort-name>)*(?:<disambiguation>[^<]*</disambiguation>)*(?:<alias-list>(?:<alias[^<]*</alias>)*</alias-list>)*</artist></name-credit>(?:<name-credit(?:>)*(?:\sjoinphrase="[^"]*">)*(?:<name>[^<]*</name)*(?:>)*<artist\sid="[^"]*"><name>[^<]*</name>(?:<sort-name>[^<]*</sort-name>)*(?:<disambiguation>[^<]*</disambiguation>)*(?:<alias-list>(?:<alias[^<]*</alias>)*</alias-list>)*</artist></name-credit>)*</artist-credit><release-group\sid="[^"]*"\stype="[^"]*"\stype-id="[^"]*"><title>[^<]*</title>(?:<disambiguation>[^<]*</disambiguation>)*(?:<primary-type\sid="[^"]*">[^<]*</primary-type>)*(?:<secondary-type-list>(?:<secondary-type\sid="[^"]*">[^<]*</secondary-type>)+</secondary-type-list>)*</release-group>(?:<date>(\d{4})[^<]*</date>)*(?:<country>)*([^<]*)?.*?<track-list\scount="(\d+).*?</release></expression>
35 <expression noclean="1" />
37 </GetAlbumSearchResults>
38 <GetAlbumDetails dest="3">
39 <RegExp input="$$5" output="<details>\1</details>" dest="3">
41 <RegExp input="$$1" output="\1" dest="3">
42 <expression>id="([^"]*)</expression>
44 <!--MBID - release group-->
45 <RegExp input="$$1" output="\1" dest="4">
46 <expression><release-group\stype="[^"]*"\sid="([^"]*)"</expression>
48 <RegExp input="$$1" output="\1" dest="4+">
49 <expression><release-group\stype="[^"]*"\stype-id="[^"]*"\sid="([^"]*)"</expression>
51 <RegExp input="$$1" output="\1" dest="4+">
52 <expression><release-group\sid="([^"]*)"\stype="[^"]*"</expression>
54 <RegExp input="$$1" output="\1" dest="4+">
55 <expression><release-group\sid="([^"]*)"\stype-id="[^"]*"</expression>
57 <RegExp input="$$1" output="\1" dest="4+">
58 <expression><release-group\stype-id="[^"]*"\sid="([^"]*)"</expression>
60 <RegExp input="$$1" output="\1" dest="4+">
61 <expression><release-group\stype-id="[^"]*"\stype="[^"]*"\sid="([^"]*)"</expression>
64 <RegExp input="$$1" output="\1" dest="7">
65 <expression trim="1"><release\sid="[^"]*"><title>([^<]*)<</expression>
68 <RegExp input="$$1" output="\1" dest="8">
69 <expression trim="1"><release\sid="[^"]*"><title>[^<]*<.*?<artist\sid="[^"]*"><name>([^<]*)<</expression>
71 <RegExp input="$$3" output="<chain function="GetMBAlbumTitleByMBID">\1</chain>" dest="5">
72 <expression noclean="1">(.+)</expression>
74 <RegExp input="$$3" output="<chain function="GetMBAlbumArtistsByMBID">\1</chain>" dest="5+">
75 <expression noclean="1">(.+)</expression>
77 <RegExp input="$$3" output="<chain function="GetMBAlbumArtistByMBID">\1</chain>" dest="5+">
78 <expression noclean="1">(.+)</expression>
80 <RegExp input="$$3" output="<chain function="GetMBAlbumLabelByMBID">\1</chain>" dest="5+">
81 <expression noclean="1">(.+)</expression>
83 <RegExp input="$$3" output="<chain function="GetMBAlbumDateByMBID">\1</chain>" dest="5+">
84 <expression noclean="1">(.+)</expression>
86 <RegExp input="$$3" output="<chain function="GetMBAlbumTracksByMBID">\1</chain>" dest="5+">
87 <expression noclean="1">(.+)</expression>
89 <RegExp input="$INFO[albumreviewsource]" output="<url function="GetAMGAlbumReview" cache="mb-$$4-rg.xml">$INFO[mbsite]/ws/2/release-group/$$4?inc=url-rels</url>" dest="5+">
90 <expression>allmusic.com</expression>
92 <RegExp input="$INFO[albumreviewsource]" output="<chain function="GetTADBAlbumReviewByMBID">$$4</chain>" dest="5+">
93 <expression>TheAudioDb.com</expression>
95 <RegExp input="$INFO[albumratingsource]" output="<chain function="GetMBAlbumRatingByMBID">$$3</chain>" dest="5+">
96 <expression>MusicBrainz</expression>
98 <RegExp input="$INFO[albumratingsource]" output="<url function="GetAMGAlbumRating" cache="mb-$$4-rg.xml">$INFO[mbsite]/ws/2/release-group/$$4?inc=url-rels</url>" dest="5+">
99 <expression>allmusic.com</expression>
101 <RegExp input="$INFO[albumratingsource]" output="<chain function="GetTADBAlbumRatingByMBID">$$4</chain>" dest="5+">
102 <expression>TheAudioDb.com</expression>
104 <RegExp input="$INFO[albumstylessource]" output="<url function="GetAMGAlbumStyles" cache="mb-$$4-rg.xml">$INFO[mbsite]/ws/2/release-group/$$4?inc=url-rels</url>" dest="5+">
105 <expression>allmusic.com</expression>
107 <RegExp input="$INFO[albumstylessource]" output="<chain function="GetTADBAlbumStylesByMBID">$$4</chain>" dest="5+">
108 <expression>TheAudioDb.com</expression>
110 <RegExp input="$INFO[albummoodssource]" output="<url function="GetAMGAlbumMoods" cache="mb-$$4-rg.xml">$INFO[mbsite]/ws/2/release-group/$$4?inc=url-rels</url>" dest="5+">
111 <expression>allmusic.com</expression>
113 <RegExp input="$INFO[albummoodssource]" output="<chain function="GetTADBAlbumMoodsByMBID">$$4</chain>" dest="5+">
114 <expression>TheAudioDb.com</expression>
116 <RegExp input="$INFO[albumthemessource]" output="<url function="GetAMGAlbumThemes" cache="mb-$$4-rg.xml">$INFO[mbsite]/ws/2/release-group/$$4?inc=url-rels</url>" dest="5+">
117 <expression>allmusic.com</expression>
119 <RegExp input="$INFO[albumthemessource]" output="<chain function="GetTADBAlbumThemeByMBID">$$4</chain>" dest="5+">
120 <expression>TheAudioDb.com</expression>
122 <RegExp conditional="fanarttvalbumthumbs" input="$$4" output="<chain function="GetFanartTvAlbumThumbsByMBID">\1</chain>" dest="5+">
123 <expression noclean="1">(.+)</expression>
125 <RegExp conditional="fanarttvalbumdiscart" input="$$4" output="<chain function="GetFanartTvAlbumDiscartByMBID">\1</chain>" dest="5+">
126 <expression noclean="1">(.+)</expression>
128 <RegExp conditional="tadbalbumthumbs" input="$$4" output="<chain function="GetTADBAlbumThumbsByMBID">\1</chain>" dest="5+">
129 <expression noclean="1">(.+)</expression>
131 <RegExp conditional="tadbalbumdiscart" input="$$4" output="<chain function="GetTADBAlbumDiscartByMBID">\1</chain>" dest="5+">
132 <expression noclean="1">(.+)</expression>
134 <RegExp conditional="tadbalbumback" input="$$4" output="<chain function="GetTADBAlbumBackByMBID">\1</chain>" dest="5+">
135 <expression noclean="1">(.+)</expression>
137 <RegExp conditional="tadbalbumspine" input="$$4" output="<chain function="GetTADBAlbumSpineByMBID">\1</chain>" dest="5+">
138 <expression noclean="1">(.+)</expression>
140 <RegExp conditional="allmusicalbumthumbs" input="$$4" output="<url function="GetAMGAlbumThumbs" cache="mb-\1-rg.xml">$INFO[mbsite]/ws/2/release-group/\1?inc=url-rels</url>" dest="5+">
141 <expression noclean="1">(.+)</expression>
143 <expression noclean="1" />
147 <GetAMGAlbumReview dest="5">
148 <RegExp input="$$2" output="<details>\1</details>" dest="5">
149 <RegExp input="$$1" output="<chain function="GetAMGAlbumReviewByAMGID">\1</chain>" dest="2">
150 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
152 <expression noclean="1" />
156 <GetAMGAlbumRating dest="5">
157 <RegExp input="$$2" output="<details>\1</details>" dest="5">
158 <RegExp input="$$1" output="<chain function="GetAMGAlbumRatingByAMGID">\1</chain>" dest="2">
159 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
161 <expression noclean="1" />
165 <GetAMGAlbumStyles dest="5">
166 <RegExp input="$$2" output="<details>\1</details>" dest="5">
167 <RegExp input="$$1" output="<chain function="GetAMGAlbumStylesByAMGID">\1</chain>" dest="2">
168 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
170 <expression noclean="1" />
174 <GetAMGAlbumMoods dest="5">
175 <RegExp input="$$2" output="<details>\1</details>" dest="5">
176 <RegExp input="$$1" output="<chain function="GetAMGAlbumMoodsByAMGID">\1</chain>" dest="2">
177 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
179 <expression noclean="1" />
183 <GetAMGAlbumThemes dest="5">
184 <RegExp input="$$2" output="<details>\1</details>" dest="5">
185 <RegExp input="$$1" output="<chain function="GetAMGAlbumThemesByAMGID">\1</chain>" dest="2">
186 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
188 <expression noclean="1" />
192 <GetAMGAlbumThumbs dest="5">
193 <RegExp input="$$2" output="<details>\1</details>" dest="5">
194 <RegExp input="$$1" output="<chain function="GetAMGAlbumThumbsByAMGID">\1</chain>" dest="2">
195 <expression noclean="1">allmusic.com/album/([^<]*)</expression>
197 <expression noclean="1" />