diff --git a/bridges/BandcampBridge.php b/bridges/BandcampBridge.php
index 8d1d2aa..ce002e5 100644
--- a/bridges/BandcampBridge.php
+++ b/bridges/BandcampBridge.php
@@ -33,10 +33,14 @@ class BandcampBridge extends BridgeAbstract{
}
foreach($html->find('li.item') as $release) {
+ $script = $release->find('div.art', 0)->getAttribute('onclick');
+ $uri = ltrim($script, "return 'url(");
+ $uri = rtrim($uri, "')");
+
$item = new \Item();
$item->name = $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
$item->title = $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
- $item->content = '
' . $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
+ $item->content = '
' . $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
$item->id = $release->find('a',0)->getAttribute('href');
$item->uri = $release->find('a',0)->getAttribute('href');
$this->items[] = $item;