blob: 2305e2d09b07565ffce134f4318d1b15ad64863e (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2012-06-10">
<CreateSearchUrl dest="3">
<RegExp input="$$1" output="<url>http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/searchtrack.php?s=\1&t=\2</url>" dest="3">
<expression trim="1,2">(.+)%20%20%20(.+)</expression>
</RegExp>
</CreateSearchUrl>
<GetSearchResults dest="3">
<RegExp input="$$5" output="<results>\1</results>" dest="3">
<RegExp input="$$1" output="<entity><title>\5 - \3 [\4]</title><url cache="tadb-\1.json">http://www.theaudiodb.com/api/v1/json/58424d43204d6564696120/track.php?h=\1</url></entity>" dest="5">
<expression repeat="yes" clear="yes" fixchars="1" noclean="1">idTrack":"([^"]*)","idAlbum":"([^"]*).*?"strTrack":"([^"]*)","strAlbum":"([^"]*)","strArtist":"([^"]*)</expression>
</RegExp>
<expression noclean="1" />
</RegExp>
</GetSearchResults>
<GetDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<title>\1</title>" dest="5">
<expression fixchars="1" noclean="1">strTrack":"([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<artist>\1</artist>" dest="5+">
<expression fixchars="1" noclean="1">strArtist":"([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<album>\1</album>" dest="5+">
<expression fixchars="1" noclean="1">strAlbum":"([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<plot>\1</plot>" dest="5+">
<expression fixchars="1" noclean="1">strDescription":"(.*?)","</expression>
</RegExp>
<RegExp input="$$1" output="<genre>\1</genre>" dest="5+">
<expression fixchars="1" noclean="1">strGenre":"([^"]*)"</expression>
</RegExp>
<RegExp input="$$1" output="<thumb>\1</thumb>" dest="5+">
<expression fixchars="1" noclean="1">strTrackThumb":"([^"]*)"</expression>
</RegExp>
<RegExp conditional="fanarttvalbumthumbs" input="$$1" output="<chain function="GetFanartTvAlbumThumbsByMBID">\1</chain>" dest="5+">
<expression fixchars="1" noclean="1">strMusicBrainzAlbumID":"([^"]*)"</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetDetails>
</scraper>
|