# \[WS\] Discogs (pone mod)

**URL:** <https://community.mp3tag.de/t/ws-discogs-pone-mod/9226>\
**Category:** Broken Web Sources\
**Created:** [October 29, 2009, 3:18am UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226 "2009-10-29T03:18:24Z")\
**Posts on this page:** 1\
**Showing post:** 428

<div class="post-metadata">

**Author:** ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)\
**Post date:** [September 16, 2012, 2:23pm UTC](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226/428 "2012-09-16T14:23:12Z")

</div>

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

---

_[View the full topic](https://community.mp3tag.de/t/ws-discogs-pone-mod/9226)._
