mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
[DuckDuckGoBridge] Disable DuckDuckGo redirects so that the links returned are correct.
This commit is contained in:
parent
44c7cbe2d7
commit
94d2ebec0a
@ -27,7 +27,7 @@ class DuckDuckGoBridge extends BridgeAbstract{
|
||||
));
|
||||
|
||||
public function collectData(){
|
||||
$html = getSimpleHTMLDOM(self::URI.'html/?q='.$this->getInput('u').$this->getInput('sort'))
|
||||
$html = getSimpleHTMLDOM(self::URI.'html/?kd=-1&q='.$this->getInput('u').$this->getInput('sort'))
|
||||
or returnServerError('Could not request DuckDuckGo.');
|
||||
|
||||
foreach($html->find('div.results_links') as $element) {
|
||||
|
Loading…
Reference in New Issue
Block a user