blob: 5cce462cea6091d16bddbe4f64495aa6df346b1b (
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
<scraperfunctions>
<GetTADBArtistThumbsByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBArtistThumbs" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetTADBArtistThumbsByID>
<GetTADBArtistThumbsByMBID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBArtistThumbs" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBArtistThumbsByMBID>
<ParseTADBArtistThumbs dest="5" clearbuffers="no">
<RegExp input="$$13" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="13">
<expression />
</RegExp>
<RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="13">
<expression repeat="yes">strArtistThumb\d?":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBArtistThumbs>
<GetTADBArtistFanartsByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBArtistFanarts" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetTADBArtistFanartsByID>
<GetTADBArtistFanartsByMBID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBArtistFanarts" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBArtistFanartsByMBID>
<ParseTADBArtistFanarts dest="5" clearbuffers="no">
<RegExp input="$$13" output="<details><fanart>\1</fanart></details>" dest="5">
<RegExp input="" output="" dest="13">
<expression />
</RegExp>
<RegExp input="" output="" dest="14">
<expression />
</RegExp>
<RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="14">
<expression repeat="yes">strArtistFanart\d?":"([^"]*)</expression>
</RegExp>
<RegExp input="$$14" output="\1" dest="13">
<expression noclean="1">(.+)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBArtistFanarts>
<GetTADBBiographyByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBBiography" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBBiographyByID>
<GetTADBBiographyByMBID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBBiography" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBBiographyByMBID>
<ParseTADBBiography dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="$$1" output="\1" dest="11">
<expression clear="yes" fixchars="1">strBiography":"(.*?)","</expression>
</RegExp>
<RegExp input="$$11" output="$$12" dest="2">
<RegExp input="$INFO[biogfbsource]" output="<chain function="GetLastFMFallbackBiographyByMBID">$$8</chain>" dest="12">
<expression>last.fm</expression>
</RegExp>
<RegExp input="$INFO[biogfbsource]" output="<chain function="GetAMGFallbackBiographyByAMGID">$$9</chain>" dest="12">
<expression>allmusic.com</expression>
</RegExp>
<expression>^$</expression>
</RegExp>
<RegExp input="$$11" output="<biography>\1</biography>" dest="2">
<expression>(.+)</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseTADBBiography>
<GetTADBFMFallbackBiographyByMBID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBFallbackBiography" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBFMFallbackBiographyByMBID>
<ParseTADBFallbackBiography dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="$$1" output="<biography>\1</biography>" dest="2">
<expression clear="yes" fixchars="1">strBiography":"(.*?)","</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseTADBFallbackBiography>
<GetTADBDiscographyByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBDiscography">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?i=\1</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetTADBDiscographyByID>
<ParseTADBDiscography dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="$$1" output="<album><year>\2</year><title>\1</title></album>" dest="2">
<expression repeat="yes" clear="yes" fixchars="1" noclean="1">strAlbum":"([^"]*)","intYearReleased":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBDiscography>
<GetTADBLifeSpanByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBLifeSpan" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetTADBLifeSpanByID>
<ParseTADBLifeSpan dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="" output="" dest="11">
<expression />
</RegExp>
<RegExp input="$$1" output="<formed>\1</formed>" dest="11">
<expression noclean="1">intFormedYear":"([^"]*)</expression>
</RegExp>
<RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="11+">
<expression noclean="1">strDisbanded":"([^"]*)</expression>
</RegExp>
<RegExp input="$$1" output="<born>\1</born>" dest="11">
<expression noclean="1">intBornYear":"([^"]*)</expression>
</RegExp>
<RegExp input="$$1" output="<died>\1</died>" dest="11+">
<expression noclean="1">intDiedYear":"([^"]*)</expression>
</RegExp>
<RegExp input="$$11" output="$$11" dest="2">
<expression noclean="1"><(?:born|formed)*>(.+)</(?:born|formed)*></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseTADBLifeSpan>
<GetTADBArtistGenresByID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBArtistGenres" cache="tadb-\1-artist.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/artist.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBArtistGenresByID>
<ParseTADBArtistGenres dest="5" clearbuffers="no">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="" output="" dest="2">
<expression />
</RegExp>
<RegExp input="$$1" output="<genre>\1</genre>" dest="2">
<expression noclean="1">strGenre":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBArtistGenres>
<GetTADBAlbumReviewByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumReview" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumReviewByID>
<GetTADBAlbumReviewByMBID dest="5" clearbuffers="no">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumReview">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumReviewByMBID>
<ParseTADBAlbumReview dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<review>\1</review>" dest="2">
<expression fixchars="1">strDescription":"(.*?)","</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumReview>
<GetTADBAlbumTitleByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumTitle" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumTitleByID>
<ParseTADBAlbumTitle dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<title>\1</title>" dest="2">
<expression noclean="1">strAlbum":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumTitle>
<GetTADBAlbumArtistByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumArtist" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumArtistByID>
<ParseTADBAlbumArtist dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<artist>\1</artist>" dest="2">
<expression noclean="1">strArtist":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumArtist>
<GetTADBAlbumDateByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumDate" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumDateByID>
<ParseTADBAlbumDate dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<year>\1</year>" dest="2">
<expression noclean="1">intYearReleased":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumDate>
<GetTADBAlbumGenresByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumGenres" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumGenresByID>
<ParseTADBAlbumGenres dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<genre>\1</genre>" dest="2">
<expression noclean="1">strGenre":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumGenres>
<GetTADBAlbumTracksByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumTracks">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/track.php?m=\1</details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumTracksByID>
<ParseTADBAlbumTracks dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<track><position>\3</position><title>\1</title><duration>\2</duration></track>" dest="2">
<expression repeat="yes" trim="1" noclean="1,2,3">strTrack":"([^"]*)",".*?intCD".*?"intDuration":"(\d*?)\d{3}".*?intTrackNumber":"([^"]*)"</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumTracks>
<GetTADBAlbumThumbsByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumThumbs" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album.php?m=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumThumbsByID>
<GetTADBAlbumThumbsByMBID dest="5">
<RegExp input="$$1" output="<details><url function="ParseTADBAlbumThumbs" cache="tadb-\1-album.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/album-mb.php?i=\1</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetTADBAlbumThumbsByMBID>
<ParseTADBAlbumThumbs dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<thumb preview="\1/preview">\1</thumb>" dest="2">
<expression repeat="yes">strAlbumThumb\d?":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</ParseTADBAlbumThumbs>
</scraperfunctions>
|