# \[ws\] beatport.com

**URL:** <https://community.mp3tag.de/t/ws-beatport-com/12325>\
**Category:** Web Sources Scripts\
**Created:** [July 25, 2011, 10:18am UTC](https://community.mp3tag.de/t/ws-beatport-com/12325 "2011-07-25T10:18:31Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)\
**Post date:** [August 22, 2011, 2:20pm UTC](https://community.mp3tag.de/t/ws-beatport-com/12325/7 "2011-08-22T14:20:14Z")

</div>

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://www.beatport.com/release/i-need-u-remixes/14207)  
[http://api.beatport.com/catalog/releases/d...ml&id=14207](http://api.beatport.com/catalog/releases/detail?v=1.0&format=xml&id=14207)

[http://www.beatport.com/release/depth-buffering/205678](http://www.beatport.com/release/depth-buffering/205678)  
[http://api.beatport.com/catalog/releases/d...l&id=205678](http://api.beatport.com/catalog/releases/detail?v=1.0&format=xml&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=""**

---

_[View the full topic](https://community.mp3tag.de/t/ws-beatport-com/12325)._
