forked from blallo/rss-bridge
Default to http for DDG bridge
Because some hosts do not support https.
This commit is contained in:
parent
6b9074da2a
commit
a9d6fd3e46
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class DuckDuckGoBridge extends BridgeAbstract{
|
|||
|
||||
public function collectData(array $param){
|
||||
$html = '';
|
||||
$link = 'https://duckduckgo.com/html/?q='.$param[u].'+sort:date';
|
||||
$link = 'http://duckduckgo.com/html/?q='.$param[u].'+sort:date';
|
||||
|
||||
$html = file_get_html($link) or $this->returnError('Could not request DuckDuckGo.', 404);
|
||||
|
||||
|
|
Loading…
Reference in a new issue