blob: a0484f7ef45b7a77d20fafb52d46e6cbbf149465 (
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
|
<scraperfunctions>
<GetAMGDiscography dest="5">
<RegExp input="$$2$$3" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<album><year>\1</year><title>\3</title><label>\5</label></album>" dest="2">
<expression repeat="yes" clear="yes" noclean="1,3,4">sorted-cell">([0-9]+)</td><td[^>]*>(<a href=[^>]*><img [^>]*/></a>|[^<]*)?</td><td[^>]*><a href=[^>]*>([^<]*)</a></td><td[^<]*[^>]*>[^>]*>(</a></td><td[^>]*>)?([^<]+)</td></expression>
</RegExp>
<RegExp input="$$2" output="\1&amp;\2" dest="3">
<expression repeat="yes" noclean="1,2">(.*?)&(.+)</expression>
</RegExp>
<RegExp input="$$3" output="" dest="2">
<expression>(.+)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetAMGDiscography>
<GetAMGBiography dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<biography>\1</biography>" dest="2">
<expression clear="yes">Biography</td>.*?<p>(.*?)</p></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetAMGBiography>
<GetAMGReview dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<review>\1</review>" dest="2">
<expression>Review</td>.*?<p>(.*?)</p></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetAMGReview>
<ParseAMGArtist dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<name>\1</name>" dest="5">
<expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression>
</RegExp>
<RegExp input="$$1" output="<born>\1</born>" dest="5+">
<expression><span>Born.*?;">(.*?)</td></expression>
</RegExp>
<RegExp input="$$1" output="<died>\1</died>" dest="5+">
<expression><span>Died.*?;">(.*?)</td></expression>
</RegExp>
<RegExp input="$$1" output="<formed>\1</formed>" dest="5+">
<expression><span>Formed.*?;">(.*?)</td></expression>
</RegExp>
<RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="5+">
<expression><span>Disbanded.*?;">(.*?)</td></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1">Years Active-->([^!]*)<!--Years Active</expression>
</RegExp>
<RegExp input="$$6" output="\1's/" dest="7+">
<expression repeat="yes"><div class="timeline-sub-active">([0-9]+)</div></expression>
</RegExp>
<RegExp input="$$7" output="<yearsactive>\1</yearsactive>" dest="5+">
<expression noclean="1">(.+)/</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1">Genre Listing-->([^!]*)<!--Genre Listing</expression>
</RegExp>
<RegExp input="$$6" output="<genre>\1</genre>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">Style Listing-->([^!]*)<!--Style Listing</expression>
</RegExp>
<RegExp input="$$7" output="<style>\1</style>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="8">
<expression noclean="1">Moods Listing-->([^!]*)<!--Moods Listing</expression>
</RegExp>
<RegExp input="$$8" output="<mood>\1</mood>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="9">
<expression noclean="1">Instruments Listing-->([^!]*)<!--Instruments Listing</expression>
</RegExp>
<RegExp input="$$9" output="<instruments>\1</instruments>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>\1</thumb>" dest="5+">
<expression noclean="1"><img src="([^"]*)" id="Picture"</expression>
</RegExp>
<RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>http://image.allmusic.com/00/amg/pic200/dr\1\200/\1\2\3\4/\1\2\3\4\5.jpg</thumb>" dest="5+">
<expression noclean="1" repeat="yes">"([A-Z^])([0-9^])([0-9^])([0-9^])([^"]*)"</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseAMGArtist>
<ParseAMGAlbum dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<title>\1</title>" dest="5">
<expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression>
</RegExp>
<RegExp input="$$1" output="<artist>\1</artist>" dest="5+">
<expression noclean="1"><span>Artist</span>[^;]*[^>]*>[^>]*>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<rating>\1</rating>" dest="5+">
<expression noclean="1"><span>Rating</span>[^_]*_r([0-9^]*)</expression>
</RegExp>
<RegExp input="$$1" output="<label>\1</label>" dest="5+">
<expression noclean="1"><span>Label</span>[^;]*[^>]*>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<type>\1</type>" dest="5+">
<expression noclean="1"><span>Type</span>[^;]*[^>]*>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="5+">
<expression noclean="1"><span>Release Date</span>[^;]*[^>]*>([^<]*)</expression>
</RegExp>
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
<expression noclean="1"><span>Release Date.*?([0-9]+)</</expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="6">
<expression noclean="1">Genre[s]* Listing-->([^!]*)<!--Genre[s]* Listing</expression>
</RegExp>
<RegExp input="$$6" output="<genre>\1</genre>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="7">
<expression noclean="1">Style[s]* Listing-->([^!]*)<!--Style[s]* Listing</expression>
</RegExp>
<RegExp input="$$7" output="<style>\1</style>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="8">
<expression noclean="1">Mood[s]* Listing-->([^!]*)<!--Mood[s]* Listing</expression>
</RegExp>
<RegExp input="$$8" output="<mood>\1</mood>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="\1" dest="9">
<expression noclean="1">Theme[s]* Listing-->([^!]*)<!--Theme[s]* Listing</expression>
</RegExp>
<RegExp input="$$9" output="<theme>\1</theme>" dest="5+">
<expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression>
</RegExp>
<RegExp input="$$1" output="<track><position>\1</position><title>\3</title><duration>\4</duration></track>" dest="5+">
<expression noclean="1,2,3" repeat="yes">"cell">([0-9]+)</.*?sql=([0-9:a-z]*)">(.*?)</a>.*?"right".*?>(.*?)</</expression>
</RegExp>
<RegExp input="$$1" conditional="allmusicalbumthumbs" output="<thumb>http://image.allmusic.com/\1</thumb>" dest="5+">
<expression noclean="1">http://image.allmusic.com/([^"]*)"</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseAMGAlbum>
</scraperfunctions>
|