blob: 6bd19c6468a8a0f59f40bbff92aca759c7312199 (
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
|
<scraperfunctions>
<GetLastFMDiscography dest="5">
<RegExp input="$$1" output="<details><url function="ParseLastFMDiscography">http://ws.audioscrobbler.com/2.0/?method=artist.gettopalbums&amp;artist=\1&amp;api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5">
<expression noclean="1"/>
</RegExp>
</GetLastFMDiscography>
<ParseLastFMDiscography dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<album><title>\1</title></album>" dest="2+">
<expression repeat="yes"><album[^>]*>[^<]*<name>([^<]*?)</name></expression>
</RegExp>
<expression noclean="1"/>
</RegExp>
</ParseLastFMDiscography>
<GetLastFMArtistThumbsByID dest="5">
<RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&mbid=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetLastFMArtistThumbsByID>
<GetLastFMArtistThumbsByName dest="5">
<RegExp input="$$1" output="<details><url function="ParseLastFMArtistThumbs">http://ws.audioscrobbler.com/2.0/?method=artist.getimages&artist=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5">
<expression noclean="1" />
</RegExp>
</GetLastFMArtistThumbsByName>
<ParseLastFMArtistThumbs dest="5">
<RegExp input="$$6" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<thumb preview="\2">\1</thumb>" dest="6">
<expression repeat="yes" noclean="1"><size name="original"[^>]*>([^<]*)<[^<]*<size name="large"[^>]*>([^<]*)<</expression>
</RegExp>
<expression noclean="1">(.+)</expression>
</RegExp>
</ParseLastFMArtistThumbs>
<GetLastFMAlbumThumbs dest="5">
<RegExp input="$$1" output="<details><url function="ParseLastFMAlbumThumbs">http://ws.audioscrobbler.com/2.0/?method=album.getinfo&artist=\2&album=\1&api_key=71e468a84c1f40d4991ddccc46e40f1b</url></details>" dest="5">
<expression>(.+)::(.+)</expression>
</RegExp>
</GetLastFMAlbumThumbs>
<ParseLastFMAlbumThumbs dest="5">
<RegExp input="$$2" output="<details>\1</details>" dest="5">
<RegExp input="$$1" output="<thumb>\1</thumb>" dest="2">
<expression noclean="1"><image size="extralarge">([^<]*)</image></expression>
</RegExp>
<RegExp input="$$1" output="<thumb>\1</thumb>" dest="2+">
<expression noclean="1"><image size="large">([^<]*)</image></expression>
</RegExp>
<expression noclean="1"></expression>
</RegExp>
</ParseLastFMAlbumThumbs>
</scraperfunctions>
|