TA的每日心情 | 奋斗 2017-5-23 20:02 |
---|
签到天数: 11 天 [LV.3]偶尔看看II
管理员
- 积分
- 2347660
|
飞飞CMS影视系统2.8自定义采集修复补丁
完美自定义采集
4月15号修复后台白屏问题
安装说明:
解压压缩包
覆盖到网站目录中
覆盖到网站目录中
不覆盖common.php 请自行修改网站的目录的文件
打开/Lib/Common/common.php
找到
function getvoddata($rule,$html){
return ff_preg_match($rule,$html);
}
修改为
function getvoddata($rule,$html){
return ff_preg_match($html,$rule);
}
找到
function getvodall($rule,$html){
return ff_preg_match_all($rule,$html);
}
修改为
function getvodall($rule,$html){
return ff_preg_match_all($html,$rule);
}
进入后台数据库维护执行SQL语句中 执行一下SQL 注意ff_collect前缀有做修改对应修改一下
如果默认安装的不用改
CREATE TABLE IF NOT EXISTS `ff_collect` (
`collect_id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
`collect_title` varchar(50) NOT NULL,
`collect_encoding` varchar(10) NOT NULL,
`collect_player` varchar(50) NOT NULL,
`collect_savepic` tinyint(4) NOT NULL,
`collect_order` tinyint(4) NOT NULL,
`collect_pagetype` tinyint(4) NOT NULL,
`collect_liststr` text NOT NULL,
`collect_pagestr` text NOT NULL,
`collect_pagesid` smallint(6) unsigned NOT NULL,
`collect_pageeid` smallint(6) unsigned NOT NULL,
`collect_listurlstr` text NOT NULL,
`collect_listlink` text NOT NULL,
`collect_listpicstr` text NOT NULL,
`collect_cid` text NOT NULL,
`collect_listname` text NOT NULL,
`collect_keywords` text NOT NULL,
`collect_name` text NOT NULL,
`collect_titlee` text NOT NULL,
`collect_actor` text NOT NULL,
`collect_director` text NOT NULL,
`collect_content` text NOT NULL,
`collect_pic` text NOT NULL,
`collect_area` text NOT NULL,
`collect_language` text NOT NULL,
`collect_year` text NOT NULL,
`collect_continu` text NOT NULL,
`collect_urlstr` text NOT NULL,
`collect_urlname` text NOT NULL,
`collect_urllink` text NOT NULL,
`collect_url` text NOT NULL,
`collect_replace` text NOT NULL,
PRIMARY KEY (`collect_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
执行完成后 进入 采集管理 导入采集规则
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|