1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-28 12:20:12 +02:00

Default to http for DDG bridge

Because some hosts do not support https.
This commit is contained in:
Sebastien SAUVAGE
2014-02-08 18:12:49 +01:00
parent 6b9074da2a
commit a9d6fd3e46

View File

@@ -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);