From e908fe648bb9581105a144ae117d81424d6368c2 Mon Sep 17 00:00:00 2001 From: Alexis CHEMEL Date: Tue, 6 Dec 2016 18:20:41 +0100 Subject: [PATCH] T411Bridge Minor fixes (#438) T411Bridge Minor fixes --- bridges/T411Bridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/T411Bridge.php b/bridges/T411Bridge.php index 0c87f640..720beedd 100644 --- a/bridges/T411Bridge.php +++ b/bridges/T411Bridge.php @@ -3,7 +3,7 @@ class T411Bridge extends BridgeAbstract { const MAINTAINER = 'ORelio'; const NAME = 'T411 Bridge'; - const URI = 'https://t411.ch/'; + const URI = 'https://www.t411.li/'; const DESCRIPTION = 'Returns the 10 newest torrents with specified search terms
Use url part after "?" mark when using their search engine.'; const PARAMETERS = array( array( @@ -25,7 +25,7 @@ class T411Bridge extends BridgeAbstract { } //Retrieve torrent listing from search results, which does not contain torrent description - $url = self::URI.'torrents/search/?'.$this->getInput('search').'&order=added&type=desc'; + $url = self::URI.'torrents/search/?search='.urlencode($this->getInput('search')).'&order=added&type=desc'; $html = getSimpleHTMLDOM($url) or returnServerError('Could not request t411: '.$url);