forked from blallo/rss-bridge
Merge pull request #620 from RSS-Bridge/teromene-patch-2
Update MixCloudBridge.php
This commit is contained in:
commit
9a3a64010f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class MixCloudBridge extends BridgeAbstract {
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
ini_set('user_agent', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0');
|
ini_set('user_agent', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0');
|
||||||
|
|
||||||
$html = getSimpleHTMLDOM(self::URI . '/' . $this->getInput('u'))
|
$html = getSimpleHTMLDOM(self::URI . '/' . $this->getInput('u'))
|
||||||
or returnServerError('Could not request MixCloud.');
|
or returnServerError('Could not request MixCloud.');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue