Skip to content

Commit

Permalink
Merge pull request Novik#977 from t0mab/rutorrent-extsearch-cpasbien-…
Browse files Browse the repository at this point in the history
…engine-fix

fix cpasbien engine for extsearch
  • Loading branch information
Novik committed Nov 29, 2014
2 parents 1a8180b + 564b13f commit ab4e8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/extsearch/engines/CPasBien.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function action($what, $cat, &$ret, $limit, $useGlobalCats)
'`siU', $cli->results, $matches);
if ($res) {
for ($i = 0; $i < $res; $i++) {
$link = $url . "/_torrents/" . $matches["id"][$i] . '.torrent';
$link = $url . "/telecharge/" . $matches["id"][$i] . '.torrent';
if (!array_key_exists($link, $ret)) {
$item = $this->getNewEntry();
$item["desc"] = $url . "/dl-torrent/" . $matches["desc1"][$i] . "/" . $matches["desc2"][$i] . "/" . $matches["id"][$i] . ".html";
Expand Down

0 comments on commit ab4e8f5

Please sign in to comment.