blob: 0bb6bcd2fff492b0201676543711991b063dbcb0 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2009-09-30">
<NfoUrl dest="3">
<RegExp input="$$1" output="http://www.\1" dest="3">
<expression>(allmusic.com/cg/.*)</expression>
</RegExp>
</NfoUrl>
<CreateAlbumSearchUrl dest="3">
<RegExp input="$$1" output="<url post="yes">http://www.allmusic.com/cg/amg.dll?P=amg&amp;SQL=\1&amp;OPT1=2</url>" dest="3">
<expression/>
</RegExp>
</CreateAlbumSearchUrl>
<GetAlbumSearchResults dest="8">
<RegExp input="$$5" output="<results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\1</title></entity>" dest="5">
<expression repeat="yes" noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression>
</RegExp>
<RegExp input="$$1" output="<entity><year>\1</year><artist>\2</artist><title>\4</title><url cache="am-\2-\4-album.html">http://www.allmusic.com/cg/amg.dll?p=amg&amp;SQL=\3</url></entity>" dest="5+">
<expression repeat="yes" noclean="1,2,3">>([0-9]+)</.*?>([a-zA-Z0-9].*?)<.*?sql=([0-9:a-z]*)">(.*?)<.</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetAlbumSearchResults>
<GetAlbumDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<url cache="am-$$2-album.html" function="ParseAMGAlbum">http://www.allmusic.com/cg/amg.dll?p=amg&amp;sql=\1</url>" dest="5+">
<expression noclean="1">sql=([^"]*)">Overview</expression>
</RegExp>
<RegExp input="$$1" output="<url cache="am-$$2-album.html" function="GetAMGReview">http://www.allmusic.com/cg/amg.dll?p=amg&amp;sql=\1</url>" dest="5+">
<expression noclean="1">sql=([^"]*)">Review</expression>
</RegExp>
<RegExp input="$$1" conditional="lastfmalbumthumbs" output="<chain function="GetLastFMAlbumThumbs">\1::\2</chain>" dest="5+">
<expression trim="1,2" encode="1,2"><span class="title">[ ]*([^<]*)</span>.*<a href="[^"]+" class="subtitle">[ ]*([^<]*)</a></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetAlbumDetails>
<CreateArtistSearchUrl dest="3">
<RegExp input="$$1" output="<url post="yes">http://www.allmusic.com/cg/amg.dll?P=amg&amp;SQL=\1&amp;OPT1=1</url>" dest="3">
<expression/>
</RegExp>
</CreateArtistSearchUrl>
<GetArtistSearchResults dest="8">
<RegExp input="$$5" output="<results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><title>\1</title></entity>" dest="5">
<expression repeat="yes" noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression>
</RegExp>
<RegExp input="$$1" output="<entity><title>\2</title><genre>\3</genre><year>\5</year><url>http://www.allmusic.com/cg/amg.dll?p=amg&amp;SQL=\1</url></entity>" dest="5+">
<expression repeat="yes" noclean="1,2">style="[^=]*<a href="[^"]*sql=([^"]*)">([^<]*)</a>[^-]*[^>]*>([^<]*)</TD>[^>]*>(&nbsp;)?([^<]*)</td></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistSearchResults>
<GetArtistDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<url cache="am-$$2-artist.html" function="ParseAMGArtist">http://www.allmusic.com/cg/amg.dll?p=amg&amp;sql=\1</url>" dest="5">
<expression noclean="1">sql=([^"]*)">Biography</expression>
</RegExp>
<RegExp input="$$2" conditional="htbthumbs" output="<chain function="GetHTBThumbs">1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$2" conditional="lastfmartistthumbs" output="<chain function="GetLastFMArtistThumbs">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$2" conditional="htbfanart" output="<chain function="GetHTBFanart">\1</chain>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$1" output="<url cache="am-$$2-artist.html" function="GetAMGBiography">http://www.allmusic.com/cg/amg.dll?p=amg&amp;sql=\1</url>" dest="5+">
<expression noclean="1">sql=([^"]*)">Biography</expression>
</RegExp>
<RegExp input="$$1" output="<url cache="am-$$2-discog.html" function="GetAMGDiscography">http://www.allmusic.com/cg/amg.dll?p=amg&amp;sql=\1</url>" dest="5+">
<expression noclean="1">sql=([^"]*)">Discography</expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistDetails>
</scraper>
|