php74 骑士 火车头采摘简历 接口及采集规则

WBOY
Release: 2016-06-13 13:25:06
Original
1306 people have browsed it

php74 骑士 火车头采集简历 接口及采集规则
研究了下骑士官方发布的火车头采集接口api并没有相关简历对应的采集接口

因此就自己写了个方法对应简历采集接口实现可查询。相关字段匹配等。和企业采集接口匹配基本一样。

支持图片采集。

图片采集到的文件目录需要自己对采集规则进行再修改。



现在对api文件修改如下

\admin\api\locoyspider.php   该文件就是接口文件 现在存在的有普通文章采集接口和企业采集接口没有建立采集接口。那么我们就添加个简历采集接口

再最下面添加代码


然后找到

/admin/include/admin_locoyspider_fun.php

文件。该文件就是处理火车头数据的方法文件

可以再最下面添加


找到

再传参里面添加一参数  

然后就在该方法体里面查找

$setsqlarr['utype']=1;   修改为  $setsqlarr['utype']=$utype;


然后 添加简历的方法



再方法中对于某些网站采集不到简历姓名的可直接传入某某两字。还有头像图片的一些都可以看下代码。


到此修改介绍。

关于修改好的文件和火车头采集规则请到我的资源里面找。文章不能上传文件

名字为     php骑士火车头简历采集接口和发布规则

http://download.csdn.net/detail/lihaiboas1/4401542




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!