Skip to content

Commit

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

fix cpasbien url
  • Loading branch information
Novik committed Jan 4, 2015
2 parents c2443dd + 3e6ab6c commit 2bc7348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/extsearch/engines/CPasBien.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CPasBienEngine extends commonEngine
public function action($what, $cat, &$ret, $limit, $useGlobalCats)
{
$added = 0;
$url = 'http:https://www.cpasbien.pe';
$url = 'http:https://www.cpasbien.pw';
if ($useGlobalCats)
$categories = array(
'all' => '',
Expand All @@ -40,7 +40,7 @@ public function action($what, $cat, &$ret, $limit, $useGlobalCats)
if (($cli == false) || (strpos($cli->results, "Pas de torrents disponibles correspondant à votre recherche") !== false))
break;
$res = preg_match_all(
'`<a href="http:\/\/www\.cpasbien\.pe\/dl-torrent\/(?P<desc1>[^\/]*)\/(?P<desc2>[^\/]*)\/(?P<id>[^\/]*).html"'.
'`<a href="http:\/\/www\.cpasbien\.pw\/dl-torrent\/(?P<desc1>[^\/]*)\/(?P<desc2>[^\/]*)\/(?P<id>[^\/]*).html"'.
' title="(?P<cat1>.*)<br>(?P<cat2>.*) - (?P<date>.*)" class="titre">(?P<name>.*)</a>'.
'<div class="poid">(?P<size>.*)</div>.*'.
'<span .*>(?P<seeds>\d+)<\/span>.*'.
Expand Down

0 comments on commit 2bc7348

Please sign in to comment.