mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
Update BandcampBridge.php
This commit is contained in:
parent
8618866a74
commit
f27dc12042
@ -12,7 +12,7 @@ class BandcampBridge extends BridgeAbstract{
|
|||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = '';
|
$html = '';
|
||||||
if (isset($param['tag'])) { /* keyword search mode */
|
if (isset($param['tag'])) {
|
||||||
$this->request = $param['tag'];
|
$this->request = $param['tag'];
|
||||||
$html = file_get_html('http://bandcamp.com/tag/'.urlencode($this->request).'?sort_field=date') or $this->returnError('No results for this query.', 404);
|
$html = file_get_html('http://bandcamp.com/tag/'.urlencode($this->request).'?sort_field=date') or $this->returnError('No results for this query.', 404);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user