blob: 698ce2045b747c8717d763aab580b8db10447897 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<scraper framework="1.1" date="2009-09-26" name="Last.FM" content="albums" thumb="lastfm.png" language="en">
<include>common/htbackdrops.xml</include>
<include>common/lastfm.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="http://ws.audioscrobbler.com/2.0/?method=album.getinfo&album=\2&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b" dest="3">
<expression>(http://www.last.fm/music/([^/]*)/(.*))</expression>
</RegExp>
<RegExp input="$$1" output="http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b" dest="3">
<expression>(http://www.last.fm/music/([^/]*))$</expression>
</RegExp>
</NfoUrl>
<CreateAlbumSearchUrl dest="3">
<RegExp input="$$1" output="http://ws.audioscrobbler.com/2.0/?method=album.search&album=\1&artist=$$2&api_key=71e468a84c1f40d4991ddccc46e40f1b" dest="3">
<expression/>
</RegExp>
</CreateAlbumSearchUrl>
<GetAlbumSearchResults dest="8">
<RegExp input="$$5" output="<results>\1</results>" dest="8">
<RegExp input="$$1" output="<entity><artist>\2</artist><title>\1</title><url>http://ws.audioscrobbler.com/2.0/?method=album.getinfo&amp;album=\4&amp;artist=\3&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></entity>" dest="5+">
<expression repeat="yes"><album>.*?<name>([^<]*)</name>.*?<artist>([^<]*)</artist>.*?<url>http://www.last.fm/music/([^/]+)/(.*?)</url></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetAlbumSearchResults>
<GetAlbumDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<artist>\1</artist>" dest="5">
<expression noclean="1"><artist>(.*?)</artist></expression>
</RegExp>
<RegExp input="$$1" output="<title>\1</title>" dest="5+">
<expression noclean="1"><name>(.*?)</name></expression>
</RegExp>
<RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="5+">
<expression trim="1"><releasedate>:(.*?)</releasedate></expression>
</RegExp>
<RegExp input="$$1" output="<year>\1</year>" dest="5+">
<expression trim="1"><releasedate>[^,]*([0-9]+),</releasedate></expression>
</RegExp>
<RegExp input="$$1" output="<review>\1</review>" dest="5+">
<expression><content><!\[CDATA\[(.*)\]\]></content></expression>
</RegExp>
<RegExp input="$$1" output="<thumb>\2</thumb>" dest="5+">
<expression noclean="1"><image size="(extra)?large">([^<]*)</image></expression>
</RegExp>
<RegExp input="$$1" output="<url function="GetTracks">http://ws.audioscrobbler.com/2.0/?method=playlist.fetch&amp;playlistURL=lastfm://playlist/album/\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url>" dest="5+">
<expression noclean="1"><id>(.*?)</id></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</GetAlbumDetails>
<GetTracks dest="5">
<RegExp input="$$4" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<track><title>\1</title></track>" dest="4+">
<expression noclean="1" repeat="yes"><track>.*?<title>(.*?)</title></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetTracks>
<CreateArtistSearchUrl dest="3">
<RegExp input="$$1" output="http://ws.audioscrobbler.com/2.0/?method=artist.search&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b" 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><url>http://ws.audioscrobbler.com/2.0/?method=artist.getinfo&amp;artist=\4&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></entity>" dest="5+">
<expression repeat="yes"><artist>.*?<name>([^<]*)</name>.*?<mbid>([^<]*)</mbid>.*?<url>www\.last\.fm/music/(\+noredirect/)?([^<]*)</url></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistSearchResults>
<GetArtistDetails dest="3">
<RegExp input="$$5" output="<details>\1</details>" dest="3">
<RegExp input="$$1" output="<name>\1</name>" dest="5">
<expression noclean="1"><name>([^<]*)</name></expression>
</RegExp>
<RegExp input="$$1" output="<biography>\1</biography>" dest="5+">
<expression><content><!\[CDATA\[(.*?)\]</expression>
</RegExp>
<RegExp input="$$1" output="<thumb>\2</thumb>" dest="5+">
<expression noclean="1"><image size="(extra)?large">([^<]*)</image></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 function="GetGenres">http://ws.audioscrobbler.com/2.0/?method=artist.gettoptags&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url>" dest="5+">
<expression noclean="1"><url>http://www.last.fm/music/(.*?)</url></expression>
</RegExp>
<RegExp input="$$1" output="<url function="GetLastFMDiscography">http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url>" dest="5+">
<expression noclean="1"><url>http://www.last.fm/music/(.*?)</url></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetArtistDetails>
<GetGenres dest="5">
<RegExp input="$$4" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<genre>\1</genre>" dest="4">
<expression noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression>
</RegExp>
<RegExp input="$$1" output="<style>\1</style>" dest="4+">
<expression repeat="yes" noclean="1"><tag>.*?<name>([^/lt;]*)</name></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</GetGenres>
</scraper>
|