diff options
author | nadasb <nadasb@svn> | 2010-10-23 07:15:57 +0000 |
---|---|---|
committer | nadasb <nadasb@svn> | 2010-10-23 07:15:57 +0000 |
commit | 1f2f375cd4c4ec991538631db7d8d5804e5d31c9 (patch) | |
tree | 1855bfd6486311d97b38d9be157f93f373cdded2 /addons | |
parent | a30dd9a024d1cc80b7a0712d6fb8bf722987b8b5 (diff) |
sync with scrapers git
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34960 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'addons')
-rw-r--r-- | addons/metadata.albums.allmusic.com/addon.xml | 4 | ||||
-rw-r--r-- | addons/metadata.albums.allmusic.com/allmusic.xml | 35 | ||||
-rw-r--r-- | addons/metadata.albums.allmusic.com/resources/settings.xml | 2 | ||||
-rw-r--r-- | addons/metadata.artists.allmusic.com/addon.xml | 4 | ||||
-rw-r--r-- | addons/metadata.artists.allmusic.com/allmusic.xml | 26 | ||||
-rw-r--r-- | addons/metadata.common.allmusic.com/addon.xml | 2 | ||||
-rw-r--r-- | addons/metadata.common.allmusic.com/allmusic.xml | 91 |
7 files changed, 79 insertions, 85 deletions
diff --git a/addons/metadata.albums.allmusic.com/addon.xml b/addons/metadata.albums.allmusic.com/addon.xml index 284d2e61f6..abc705ac57 100644 --- a/addons/metadata.albums.allmusic.com/addon.xml +++ b/addons/metadata.albums.allmusic.com/addon.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.albums.allmusic.com" name="AllMusic" - version="1.0.10" + version="1.8.1" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> <import addon="metadata.common.last.fm" version="1.0"/> - <import addon="metadata.common.allmusic.com" version="1.0.3"/> + <import addon="metadata.common.allmusic.com" version="1.8.1"/> <import addon="metadata.common.htbackdrops.com" version="1.0.7"/> </requires> <extension point="xbmc.metadata.scraper.albums" diff --git a/addons/metadata.albums.allmusic.com/allmusic.xml b/addons/metadata.albums.allmusic.com/allmusic.xml index 7a64a15fe2..03f7470bc6 100644 --- a/addons/metadata.albums.allmusic.com/allmusic.xml +++ b/addons/metadata.albums.allmusic.com/allmusic.xml @@ -1,25 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<scraper framework="1.1" date="2009-09-30"> +<scraper framework="1.1" date="2010-10-16"> <NfoUrl dest="3"> <RegExp input="$$1" output="<url>http://www.\1</url>" 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 input="$$1" output="<url>http://www.allmusic.com/search/album/\1</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 input="$$1" output="<entity><year>\4</year><artist>\3</artist><title>\2</title><url cache="am-\3-\2-album.html">http://www.allmusic.com/album/\1/review</url></entity>" dest="5"> + <expression repeat="yes" noclean="1,2,3"><td class="text-center">[^<]*<a href.*?www.allmusic.com/album/([^"]*)">([^<]*).*?<td>([^<]*)</td>.*?<td>.*?<td>([^<]*)</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]+)?[^>]*>[^>]*>([^<]*)</TD><td class="cell-img.*?sql=([0-9:a-z]*)">(.*?)<.</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 input="$$1" output="<entity><year>\4</year><artist>\3</artist><title>\2</title><url cache="am-\3-\2-album.html">http://www.allmusic.com/album/\1/review</url></entity>" dest="5+"> + <expression repeat="yes" noclean="1,2,3"><td class="text-center">[^<]*</td>.*?www.allmusic.com/album/([^"]*)">([^<]*).*?<td>([^<]*)</td>.*?<td>.*?<td>([^<]*)</expression> </RegExp> <expression noclean="1" /> </RegExp> @@ -27,21 +24,21 @@ <GetAlbumDetails dest="3"> <RegExp input="$$5" output="<details>\1</details>" dest="3"> <RegExp input="$$1" output="\1" dest="2"> - <expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression> + <expression noclean="1"><h1 class="title">([^<]*)</h1></expression> </RegExp> <RegExp input="$$1" output="\1" dest="3"> - <expression noclean="1"><span>Artist</span>[^;]*[^>]*>[^>]*>([^<]*)</expression> + <expression noclean="1">allmusic.com/artist/[^"]*">([^<]*)</a></div></expression> </RegExp> - <RegExp input="$$1" output="<url cache="am-$$3-$$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 conditional="lastfmalbumthumbs" input="$$1" output="<chain function="GetLastFMAlbumThumbs">\1::\2</chain>" dest="5+"> + <expression trim="1,2" encode="1,2"><meta name="title" content="([^-]*)- ([^<]*)" /></expression> </RegExp> - <RegExp input="$$1" output="<url cache="am-$$3-$$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 input="$$1" output="<url cache="am-$$3-$$2-album.html" function="ParseAMGAlbum">http://www.allmusic.com/album/\1/review</url>" dest="5+"> + <expression noclean="1">allmusic.com/artist/([^"]*)">[^<]*</a></div></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 input="$$1" output="<url cache="am-$$3-$$2-album.html" function="GetAMGReview">http://www.allmusic.com/album/\1/review</url>" dest="5+"> + <expression noclean="1">allmusic.com/artist/([^"]*)">[^<]*</a></div></expression> </RegExp> - <expression noclean="1"/> + <expression noclean="1" /> </RegExp> </GetAlbumDetails> </scraper> diff --git a/addons/metadata.albums.allmusic.com/resources/settings.xml b/addons/metadata.albums.allmusic.com/resources/settings.xml index 89eb2274a2..3071c6d2bf 100644 --- a/addons/metadata.albums.allmusic.com/resources/settings.xml +++ b/addons/metadata.albums.allmusic.com/resources/settings.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <settings> <setting label="30000" type="bool" id="allmusicalbumthumbs" default="true"/> - <setting label="30001" type="bool" id="lastfmalbumthumbs" default="false"/> + <setting label="30001" type="bool" id="lastfmalbumthumbs" default="true"/> </settings> diff --git a/addons/metadata.artists.allmusic.com/addon.xml b/addons/metadata.artists.allmusic.com/addon.xml index 04b1ea1812..9071ce1e05 100644 --- a/addons/metadata.artists.allmusic.com/addon.xml +++ b/addons/metadata.artists.allmusic.com/addon.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.artists.allmusic.com" name="AllMusic" - version="1.0.8" + version="1.8.1" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> <import addon="metadata.common.last.fm" version="1.0"/> - <import addon="metadata.common.allmusic.com" version="1.0"/> + <import addon="metadata.common.allmusic.com" version="1.8.1"/> <import addon="metadata.common.htbackdrops.com" version="1.0.7"/> </requires> <extension point="xbmc.metadata.scraper.artists" diff --git a/addons/metadata.artists.allmusic.com/allmusic.xml b/addons/metadata.artists.allmusic.com/allmusic.xml index 4ad7674af7..4de03cb8f9 100644 --- a/addons/metadata.artists.allmusic.com/allmusic.xml +++ b/addons/metadata.artists.allmusic.com/allmusic.xml @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> -<scraper framework="1.1" date="2009-09-30"> +<scraper framework="1.1" date="2010-10-16"> <NfoUrl dest="3"> <RegExp input="$$1" output="<url>http://www.\1</url>" dest="3"> <expression>(allmusic.com/cg/.*)</expression> </RegExp> </NfoUrl> <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"> + <RegExp input="$$1" output="<url>http://www.allmusic.com/search/artist/\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 input="$$1" output="<entity><title>\1</title><url cache="am-$$2-artist.html">http://www.allmusic.com/artist/\2</url></entity>" dest="5"> + <expression repeat="yes" noclean="1"><meta name="title" content="([^"]*)".*?<a href="http://www.allmusic.com/artist/([^/]*)/discography"</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 input="$$1" output="<entity><title>\2</title><genre>\3</genre><year>\4</year><url cache="am-$$2-artist.html">http://www.allmusic.com/artist/\1</url></entity>" dest="5+"> + <expression repeat="yes" noclean="1,2"><td><a href="http://www.allmusic.com/artist/([^"]*)">([^<]*)</a></td>[^>]*>([^<]*)</td>[^>]*>([^<]*)</td></expression> </RegExp> <expression noclean="1"/> - </RegExp> + </RegExp> </GetArtistSearchResults> <GetArtistDetails dest="3"> <RegExp input="$$5" output="<details>\1</details>" dest="3"> <RegExp input="$$2" conditional="htbthumbs" output="<chain function="GetHTBThumbs">\1</chain>" dest="5"> <expression/> </RegExp> - <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 input="$$1" output="<url cache="am-$$2-artist.html" function="ParseAMGArtist">http://www.allmusic.com/artist/\1</url>" dest="5+"> + <expression>http://www.allmusic.com/artist/([^&"/]*)</expression> </RegExp> <RegExp input="$$2" conditional="lastfmartistthumbs" output="<chain function="GetLastFMArtistThumbs">\1</chain>" dest="5+"> <expression/> @@ -35,11 +35,11 @@ <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 input="$$1" output="<url cache="am-$$2-biog.html" function="GetAMGBiography">http://www.allmusic.com/artist/\1/biography</url>" dest="5+"> + <expression><a href="http://www.allmusic.com/artist/([^/]*)/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 input="$$1" output="<url cache="am-$$2-discog.html" function="GetAMGDiscography">http://www.allmusic.com/artist/\1/discography</url>" dest="5+"> + <expression><a href="http://www.allmusic.com/artist/([^/]*)/discography"</expression> </RegExp> <expression noclean="1"/> </RegExp> diff --git a/addons/metadata.common.allmusic.com/addon.xml b/addons/metadata.common.allmusic.com/addon.xml index a2dc608305..427f5fae4f 100644 --- a/addons/metadata.common.allmusic.com/addon.xml +++ b/addons/metadata.common.allmusic.com/addon.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="metadata.common.allmusic.com" name="AllMusic" - version="1.0.3" + version="1.8.1" provider-name="Team XBMC"> <requires> <import addon="xbmc.metadata" version="1.0"/> diff --git a/addons/metadata.common.allmusic.com/allmusic.xml b/addons/metadata.common.allmusic.com/allmusic.xml index a0484f7ef4..adea10abae 100644 --- a/addons/metadata.common.allmusic.com/allmusic.xml +++ b/addons/metadata.common.allmusic.com/allmusic.xml @@ -1,8 +1,8 @@ <scraperfunctions> <GetAMGDiscography dest="5"> <RegExp input="$$2$$3" output="<details>\1</details>" dest="5"> - <RegExp input="$$1" output="<album><year>\1</year><title>\3</title><label>\5</label></album>" dest="2"> - <expression repeat="yes" clear="yes" noclean="1,3,4">sorted-cell">([0-9]+)</td><td[^>]*>(<a href=[^>]*><img [^>]*/></a>|[^<]*)?</td><td[^>]*><a href=[^>]*>([^<]*)</a></td><td[^<]*[^>]*>[^>]*>(</a></td><td[^>]*>)?([^<]+)</td></expression> + <RegExp input="$$1" output="<album><year>\1</year><title>\2</title><label>\3</label></album>" dest="2"> + <expression repeat="yes" clear="yes" noclean="1,3,4"><td class="sorted cell">([^<]*)</td>.*?<td class="cell"><a href="[^>]*>([^<]*)<.*?<td class="cell">([^<]*)<</expression> </RegExp> <RegExp input="$$2" output="\1&amp;\2" dest="3"> <expression repeat="yes" noclean="1,2">(.*?)&(.+)</expression> @@ -16,7 +16,7 @@ <GetAMGBiography dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<biography>\1</biography>" dest="2"> - <expression clear="yes">Biography</td>.*?<p>(.*?)</p></expression> + <expression clear="yes">Biography</h2>.*?</p>(.*?)</p></expression> </RegExp> <expression noclean="1"/> </RegExp> @@ -24,124 +24,121 @@ <GetAMGReview dest="5"> <RegExp input="$$2" output="<details>\1</details>" dest="5"> <RegExp input="$$1" output="<review>\1</review>" dest="2"> - <expression>Review</td>.*?<p>(.*?)</p></expression> + <expression><h2 class="title">Review</h2>.*?</p>(.*?)</p></expression> </RegExp> - <expression noclean="1"/> + <expression noclean="1" /> </RegExp> </GetAMGReview> <ParseAMGArtist dest="3"> <RegExp input="$$5" output="<details>\1</details>" dest="3"> <RegExp input="$$1" output="<name>\1</name>" dest="5"> - <expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression> + <expression noclean="1"><meta name="title" content="([^"]*)</expression> </RegExp> <RegExp input="$$1" output="<born>\1</born>" dest="5+"> - <expression><span>Born.*?;">(.*?)</td></expression> + <expression><h3>Born[^>]*>[^>]*>(.*?)</p></expression> </RegExp> <RegExp input="$$1" output="<died>\1</died>" dest="5+"> - <expression><span>Died.*?;">(.*?)</td></expression> + <expression><h3>Died[^>]*>[^>]*>(.*?)</p></expression> </RegExp> <RegExp input="$$1" output="<formed>\1</formed>" dest="5+"> - <expression><span>Formed.*?;">(.*?)</td></expression> + <expression><h3>Formed[^>]*>[^>]*>(.*?)</p></expression> </RegExp> <RegExp input="$$1" output="<disbanded>\1</disbanded>" dest="5+"> - <expression><span>Disbanded.*?;">(.*?)</td></expression> + <expression><h3>Disbanded[^>]*>[^>]*>(.*?)</p></expression> </RegExp> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1">Years Active-->([^!]*)<!--Years Active</expression> + <expression noclean="1"><h3>Years Active</h3>(.*?)</p></expression> </RegExp> - <RegExp input="$$6" output="\1's/" dest="7+"> - <expression repeat="yes"><div class="timeline-sub-active">([0-9]+)</div></expression> + <RegExp input="$$6" output="\1's/" dest="7+"> + <expression repeat="yes"><span class="active">([0-9]+)</span></expression> </RegExp> <RegExp input="$$7" output="<yearsactive>\1</yearsactive>" dest="5+"> <expression noclean="1">(.+)/</expression> - </RegExp> + </RegExp> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1">Genre Listing-->([^!]*)<!--Genre Listing</expression> + <expression noclean="1"><h3>Genres</h3>(.*?)</div></expression> </RegExp> - <RegExp input="$$6" output="<genre>\1</genre>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <RegExp input="$$6" output="<genre>\2</genre>" dest="5+"> + <expression repeat="yes" noclean="1"><a href="/explore/genre/[^>]*>(<strong>)?([^<]*)</expression> </RegExp> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1">Style Listing-->([^!]*)<!--Style Listing</expression> + <expression noclean="1"><h3>Styles</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$7" output="<style>\1</style>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> <RegExp input="$$1" output="\1" dest="8"> - <expression noclean="1">Moods Listing-->([^!]*)<!--Moods Listing</expression> + <expression noclean="1"><h3>Moods</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$8" output="<mood>\1</mood>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> <RegExp input="$$1" output="\1" dest="9"> - <expression noclean="1">Instruments Listing-->([^!]*)<!--Instruments Listing</expression> + <expression noclean="1"><h3>Instruments</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$9" output="<instruments>\1</instruments>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> - </RegExp> - <RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>\1</thumb>" dest="5+"> - <expression noclean="1"><img src="([^"]*)" id="Picture"</expression> + <expression repeat="yes" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> - <RegExp input="$$1" conditional="allmusicartistthumbs" output="<thumb>http://image.allmusic.com/00/amg/pic200/dr\1\200/\1\2\3\4/\1\2\3\4\5.jpg</thumb>" dest="5+"> - <expression noclean="1" repeat="yes">"([A-Z^])([0-9^])([0-9^])([0-9^])([^"]*)"</expression> + <RegExp conditional="allmusicartistthumbs" input="$$1" output="<thumb>\1</thumb>" dest="5+"> + <expression noclean="1"><img id="artist_image" src="([^"]*)"</expression> </RegExp> - <expression noclean="1"/> + <expression noclean="1" /> </RegExp> </ParseAMGArtist> <ParseAMGAlbum dest="3"> <RegExp input="$$5" output="<details>\1</details>" dest="3"> <RegExp input="$$1" output="<title>\1</title>" dest="5"> - <expression noclean="1"><TITLE>allmusic[ (]+ ([^>]*) > Overview</expression> + <expression trim="1" noclean="1"><meta name="title" content="([^-]*)-[^<]*" /></expression> </RegExp> <RegExp input="$$1" output="<artist>\1</artist>" dest="5+"> - <expression noclean="1"><span>Artist</span>[^;]*[^>]*>[^>]*>([^<]*)</expression> + <expression noclean="1"><meta name="title" content="[^-]*- ([^<]*)" /></expression> </RegExp> <RegExp input="$$1" output="<rating>\1</rating>" dest="5+"> - <expression noclean="1"><span>Rating</span>[^_]*_r([0-9^]*)</expression> + <expression noclean="1"><h3>Rating</h3>[^_]*_r([0-9^]*)</expression> </RegExp> <RegExp input="$$1" output="<label>\1</label>" dest="5+"> - <expression noclean="1"><span>Label</span>[^;]*[^>]*>([^<]*)</expression> + <expression noclean="1"><h3>Label</h3>[^>]*>([^<]*)</expression> </RegExp> <RegExp input="$$1" output="<type>\1</type>" dest="5+"> - <expression noclean="1"><span>Type</span>[^;]*[^>]*>([^<]*)</expression> + <expression noclean="1"><h3>Type</h3>[^>]*>([^<]*)</expression> </RegExp> <RegExp input="$$1" output="<releasedate>\1</releasedate>" dest="5+"> - <expression noclean="1"><span>Release Date</span>[^;]*[^>]*>([^<]*)</expression> + <expression noclean="1"><h3>Release Date</h3>[^>]*>([^<]*)</expression> </RegExp> <RegExp input="$$1" output="<year>\1</year>" dest="5+"> <expression noclean="1"><span>Release Date.*?([0-9]+)</</expression> </RegExp> <RegExp input="$$1" output="\1" dest="6"> - <expression noclean="1">Genre[s]* Listing-->([^!]*)<!--Genre[s]* Listing</expression> + <expression noclean="1"><h3>Genre[s]?</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$6" output="<genre>\1</genre>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" trim="1" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> <RegExp input="$$1" output="\1" dest="7"> - <expression noclean="1">Style[s]* Listing-->([^!]*)<!--Style[s]* Listing</expression> + <expression noclean="1"><h3>Style[s]?</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$7" output="<style>\1</style>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" trim="1" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> <RegExp input="$$1" output="\1" dest="8"> - <expression noclean="1">Mood[s]* Listing-->([^!]*)<!--Mood[s]* Listing</expression> + <expression trim="1" noclean="1"><h3>Mood[s]?</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$8" output="<mood>\1</mood>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> <RegExp input="$$1" output="\1" dest="9"> - <expression noclean="1">Theme[s]* Listing-->([^!]*)<!--Theme[s]* Listing</expression> + <expression noclean="1"><h3>Theme[s]?</h3>(.*?)</div></expression> </RegExp> <RegExp input="$$9" output="<theme>\1</theme>" dest="5+"> - <expression noclean="1" repeat="yes"><li>[^>]*>([^<]*)</a></li></expression> + <expression repeat="yes" noclean="1"><li>[^>]*>([^<]*)</a></li></expression> </RegExp> - <RegExp input="$$1" output="<track><position>\1</position><title>\3</title><duration>\4</duration></track>" dest="5+"> - <expression noclean="1,2,3" repeat="yes">"cell">([0-9]+)</.*?sql=([0-9:a-z]*)">(.*?)</a>.*?"right".*?>(.*?)</</expression> + <RegExp input="$$1" output="<track><position>\1</position><title>\2</title><duration>\3</duration></track>" dest="5+"> + <expression repeat="yes" noclean="1,2,3">"cell">([0-9]+)<.*?<td class="cell">[^>]*>([^<]*)</a></td>.*?<td class="cell">([0-9]*:[0-9]*)</td></expression> </RegExp> - <RegExp input="$$1" conditional="allmusicalbumthumbs" output="<thumb>http://image.allmusic.com/\1</thumb>" dest="5+"> + <RegExp conditional="allmusicalbumthumbs" input="$$1" output="<thumb>http://image.allmusic.com/\1</thumb>" dest="5+"> <expression noclean="1">http://image.allmusic.com/([^"]*)"</expression> </RegExp> - <expression noclean="1"/> + <expression noclean="1" /> </RegExp> </ParseAMGAlbum> </scraperfunctions> |