Skip to content
This repository was archived by the owner on Mar 1, 2018. It is now read-only.

Commit e629d86

Browse files
committed
1.7.4
1 parent b357236 commit e629d86

File tree

4 files changed

+26
-17
lines changed

4 files changed

+26
-17
lines changed

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
21.11.2017 - 1.7.4:
2+
- nnm-club.name переехал на https://nnmclub.to
3+
19.11.2017 - 1.7.3:
4+
- nnm-club.name переехал на https://nnmclub.to
5+
- Восстановление работы http://rustorka.com
6+
- Добавлен отлов запроса капчи для http://www.lostfilm.tv
17
27.09.2017 - 1.7.2:
28
- Исправления для восстановления работоспособности https://tracker.0day.kiev.ua
39
25.09.2017 - 1.7.1:

include/show_table.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,16 @@
6464
echo '<img src="img/error.png" alt="Есть ошибки">&nbsp;';
6565
if ($closed)
6666
echo '[Тема закрыта]&nbsp;';
67-
if ($tracker == 'rutracker.org' || $tracker == 'nnm-club.name' || $tracker == 'tfile.cc' || $tracker == 'torrents.net.ua' || $tracker == 'pornolab.net' || $tracker == 'rustorka.com')
67+
if ($tracker == 'rutracker.org' || $tracker == 'nnmclub.to' || $tracker == 'tfile.cc' || $tracker == 'torrents.net.ua' || $tracker == 'pornolab.net' || $tracker == 'rustorka.com')
6868
{
6969
?>
70-
<a href='http://<?php echo $tracker ?>/forum/viewtopic.php?t=<?php echo $torrent_id ?>' target='_blank'><?php echo $name ?></a>
70+
<a href='
71+
<?php
72+
if ($tracker == 'nnmclub.to')
73+
echo 'https://';
74+
else
75+
echo 'http://';
76+
echo $tracker ?>/forum/viewtopic.php?t=<?php echo $torrent_id ?>' target='_blank'><?php echo $name ?></a>
7177
<?php
7278
}
7379
elseif ($tracker == 'kinozal.me' || $tracker == 'tracker.0day.kiev.ua' || $tracker == 'tv.mekc.info')

trackers/nnmclub.to.search.php

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
include_once('nnmclub.to.engine.php');
2+
include_once('nnm-club.name.engine.php');
33

44
class nnmclubSearch extends nnmclub
55
{
@@ -64,7 +64,7 @@ public static function mainSearch($params)
6464
'returntransfer' => 1,
6565
'url' => 'http://nnmclub.to/forum/viewtopic.php?t='.$toDownload[$i]['threme_id'],
6666
'cookie' => nnmclub::$sess_cookie,
67-
'sendHeader' => array('Host' => 'nnm-club.me', 'Content-length' => strlen(nnmclub::$sess_cookie)),
67+
'sendHeader' => array('Host' => 'nnmclub.to', 'Content-length' => strlen(nnmclub::$sess_cookie)),
6868
'convert' => array('windows-1251', 'utf-8//IGNORE'),
6969
)
7070
);
@@ -78,19 +78,16 @@ public static function mainSearch($params)
7878
Database::clearWarnings($tracker);
7979
//сохраняем торрент в файл
8080
$download_id = $link[1];
81-
preg_match('/phpbb2mysql_4_sid=(.*)/U', nnmclub::$sess_cookie, $arr);
82-
$sid = $arr[1];
83-
8481
$torrent = Sys::getUrlContent(
85-
array(
86-
'type' => 'GET',
87-
'follow' => 1,
88-
'returntransfer' => 1,
89-
'url' => 'http://nnm-club.ws/download.php?id='.$download_id,
90-
'cookie' => nnmclub::$sess_cookie,
91-
'sendHeader' => array('Host' => 'nnmclub.to', 'Content-length' => strlen(nnmclub::$sess_cookie)),
92-
'referer' => 'http://nnmclub.to/forum/viewtopic.php?t='.$torrent_id.'&sid='.$sid,
93-
)
82+
array(
83+
'type' => 'GET',
84+
'follow' => 1,
85+
'returntransfer' => 1,
86+
'url' => 'https://nnmclub.to/forum/download.php?id='.$download_id,
87+
'cookie' => nnmclub::$sess_cookie,
88+
'sendHeader' => array('Host' => 'nnmclub.to', 'Content-length' => strlen(nnmclub::$sess_cookie)),
89+
'referer' => 'http://nnmclub.to/forum/viewtopic.php?t='.$torrent_id,
90+
)
9491
);
9592

9693
if (Sys::checkTorrentFile($torrent))

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"system":"1.7.2","database":"1.7.2"}
1+
{"system":"1.7.4","database":"1.7.4"}

0 commit comments

Comments
 (0)