[ws] beatport.com

You should change the search string to:
[SearchBy]=$repl(%artist% %album%,&, )

Because everything after a & symbol is ignored in api search

and:

There are releases without a proper album cover. Instead, the logo of the label is presented.
These releases have ref="label" instead of ref="release" at the image url. This leads to a failor of the script. The script jumps to the first recommendation link at the bottom of the page (Users Also Bought) which has ref="release" at the image, writes all data of this image and gets an error when it searches for the track (findline "<track")

examples for releases without proper cover image:
http://www.beatport.com/release/i-need-u-remixes/14207
http://api.beatport.com/catalog/releases/d...ml&id=14207

http://www.beatport.com/release/depth-buffering/205678
http://api.beatport.com/catalog/releases/d...l&id=205678

I think the easiest solution for the script is to replace
findline "width="60" height="60" ref="release""
with
findline "width="60" height="60" ref=""