Универсальный парсер

Универсальный парсер 0.7.2

Нет прав для скачивания

founder

Пользователь
Всем привет, появилась подобная проблема, что описывалась выше моего сообщения)

Торрент загружает, в файле rutracker добавляет строку, ну дельзя зарегистрировать торрент файл This is not a bencoded file? В чем может быть проблема, использую open server,) Заранее благодарен
 

XLex

Пользователь
при попытке спарсить раздачу с большим количеством ббкодов допустим эту

Please Login or Register to view hidden text.


вываливается вот такое
Warning: preg_replace(): Compilation failed: regular expression is too large at offset 69932 in library/includes/functions_parser.php on line 63

PHP 5.5.20-pl0-gentoo
nginx/1.7.7
mysql 5.5.40-MariaDB
 
Последнее редактирование:

ivanesko261

Пользователь
при попытке спарсить раздачу с большим количеством ббкодов допустим эту

Please Login or Register to view hidden text.


вываливается вот такое
Warning: preg_replace(): Compilation failed: regular expression is too large at offset 69932 in library/includes/functions_parser.php on line 63

PHP 5.5.20-pl0-gentoo
nginx/1.7.7
mysql 5.5.40-MariaDB

у меня вываливается такое

Notice: Undefined offset: 1 in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 17 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 134 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 96 Notice: Undefined offset: 1 in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 17 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 134 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 96
 

Sprinx

Пользователь
у меня вываливается такое

Notice: Undefined offset: 1 in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 17 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 134 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 96 Notice: Undefined offset: 1 in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 17 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 134 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/ivan/data/www/torrnada.ru/library/includes/functions_parser.php on line 96
Инструкцию к движку читали? safe_mode включен.
Настраиваем php.
 

dexer7

Пользователь
Так будет лучше наверное
PHP:
preg_match ('#<h1 class="maintitle"><a href=".*?">([\s\S]*?)</a></h1>#', $copy_page, $r_title);
К примеру было так:
Ошибка времени / Time Lapse (Брэдли Кинг / Bradley King) [2014, Фантастика, Триллер, WEB-DLRip] DVO :: RuTracker.org
Чтоб :: RuTracker.org в название темы не брало
будет так:
Ошибка времени / Time Lapse (Брэдли Кинг / Bradley King) [2014, Фантастика, Триллер, WEB-DLRip] DVO
 

Ress Kent

Пользователь
ivanesko261 вместо этой строчки в functions_parser.php
Код:
preg_match ("#<title>(.*?)</title>#si", $copy_page, $r_title);
upd: прикольно немножко опередил))
 
Последнее редактирование:
Сверху