让NexusPHP程序支持UTorrent3.1 3.4版本,解决pt不更新的问题
在数据库 agent_allowed_family表中执行如下sql支持正式版:INSERT INTO `agent_allowed_family` (`family`, `start_name`, `peer_id_pattern`, `peer_id_match_num`, `peer_id_matchtype`, `peer_id_start`, `agent_pattern`, `agent_match_num`, `agent_matchtype`, `agent_start`, `exception`, `allowhttps`, `comment`, `hits`) VALUES ('uTorrent 3.x.x', 'uTorrent 3.0.0', '/^-UT3()()()-/', 3, 'dec', '-UT3000-', '/^uTorrent\\/3()()()/', 3, 'dec', 'uTorrent/3000', 'no', 'yes', , 0);支持测试版:INSERT INTO `agent_allowed_family` (`family`, `start_name`, `peer_id_pattern`, `peer_id_match_num`, `peer_id_matchtype`, `peer_id_start`, `agent_pattern`, `agent_match_num`, `agent_matchtype`, `agent_start`, `exception`, `allowhttps`, `comment`, `hits`) VALUES ('uTorrent 3.x.xB', 'uTorrent 3.0.0B', '/^-UT3()()()-/', 3, 'dec', '-UT300B-', '/^uTorrent\\/3()()()/', 3, 'dec', 'uTorrent/300B', 'no', 'yes', , 0);3.4
INSERT INTO `agent_allowed_family` VALUES (20, 'uTorrent 3.4.x', 'uTorrent 3.4.0', '/^-UT34()-/', 3, 'dec', '-UT340-', '/^uTorrent\\/34()/', 3, 'dec', 'uTorrent/3400', 'no', 'yes', '', 299);
页:
[1]