[WS] Discogs (pone mod)

Hi pone. I'm still using the modified version you made for me a while ago to retrieve year only (it also automatically selects the earliest year), but something has broken and it no longer works. I know this is extra work for you, but I'd be really grateful if you could take a look.

Script 1

[Name]=Discogs album year only without control
[AlbumUrl]=http://www.discogs.com/advanced_search?artist=%s&range=after&year1=1800&btn=Search+Releases&sort=year%2Casc
[WordSeperator]=+
[SearchBy]=$regexp(%artist%,^The (.*),$1)&release_title=%album%

[ParserScriptAlbum]=...
outputto "YEAR"
joinuntil "<div id="footer_border">"
regexpreplace ".+?div class="search_release_stats">\s*(\d\d\d\d)\s*<span.+" "$1"
sayrest

Script 2

[Name]=Discogs track year only without control
[AlbumUrl]=http://www.discogs.com/advanced_search?artist=%s&range=after&year1=1800&btn=Search+Releases&sort=year%2Casc
[WordSeperator]=+
[SearchBy]=$regexp(%artist%,^The (.*),$1)&track=%title%

[ParserScriptAlbum]=...
outputto "YEAR"
joinuntil "<div id="footer_border">"
regexpreplace ".+?div class="search_release_stats">\s*(\d\d\d\d)\s*<span.+" "$1"
sayrest