mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
Merge pull request #620 from RSS-Bridge/teromene-patch-2
Update MixCloudBridge.php
This commit is contained in:
commit
9a3a64010f
@ -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 New Issue
Block a user