Merge pull request #620 from RSS-Bridge/teromene-patch-2

Update MixCloudBridge.php
This commit is contained in:
Teromene 2018-01-11 11:48:29 +00:00 committed by GitHub
commit 9a3a64010f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ class MixCloudBridge extends BridgeAbstract {
public function collectData(){
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'))
or returnServerError('Could not request MixCloud.');