blob: 0fed5d453823cba8894fdf6ca5fb4c348ff2173d (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2009-09-20" name="Allmusic" content="albums" thumb="allmusic.png" language="en">
<include>common/htbackdrops.xml</include>
<include>common/allmusic.xml</include>
<GetSettings dest="3">
<RegExp input="$$5" output="<settings>\1</settings>" dest="3">
<RegExp input="$$1" output="<setting label="Enable Fanart" type="bool" id="htbfanart" default="true"></setting>" dest="5+">
<expression></expression>
</RegExp>
<RegExp input="$$1" output="<setting label="Grab thumbs from HTBackdrops" type="bool" id="htbthumbs" default="true"></setting>" dest="5+">
<expression></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetSettings>
<NfoUrl dest="3">
<RegExp input="$$1" output="\1" dest="3">
<expression>(http://www.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></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"></expression>
</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>
<expression noclean="1"></expression>
</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></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 cache="am-\2-artist.html">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"></expression>
</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="<url function="GetHTBThumbs" post="yes">http://www.htbackdrops.com/search.php?search_terms=all&amp;cat_id=5&amp;search_keywords=\1</url>" dest="5+">
<expression/>
</RegExp>
<RegExp input="$$2" conditional="htbfanart" output="<url function="GetHTBFanart" post="yes">http://www.htbackdrops.com/search.php?search_terms=all&amp;cat_id=1&amp;search_keywords=\1</url>" 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"></expression>
</RegExp>
</GetArtistDetails>
</scraper>
|