xing695431 发表于 2018-8-4 22:54:29

一个完整的事件代码可以写到自己的服务器上吗?

因为需要经常修改,直接写在app里面不方便维护,求教

另外,这个应该怎么取

<a target="_self" href="/vod-play-id-14396-src-1-num-17.html">第17集预告<span class="new">new</span></a>
<a target="_self" href="/vod-play-id-14396-src-1-num-16.html">第16集预告</a>
<a target="_self" href="/vod-play-id-14396-src-1-num-15.html">第15集预告</a>
<a target="_self" href="/vod-play-id-14396-src-1-num-14.html">第14集预告</a>
<a target="_self" href="/vod-play-id-14396-src-1-num-13.html">第13集预告</a>
<a target="_self" href="/vod-play-id-14396-src-1-num-12.html">第12集预告</a>

最新的更新的取不到




xing695431 发表于 2018-8-4 22:58:12

<a target="_self" href="/vod-play-id-14396-src-1-num-17.html">第17集预告<span class="new">new</span></a>

这一段一直取不到

代码是这么写的
标题=取指定文本2(数据数组(循环变量),".html\">","</")

qq8945051q 发表于 2018-8-5 01:12:33

支持楼主谢谢分享。。。。。。。。。

道可道非常道 发表于 2018-8-5 02:51:14

正则匹配被.一般情况不推荐用去中间文本的

易如意 发表于 2018-8-5 11:53:17

你可以将网页源码放在txt里上传,这样不好做解决方案

admin_eeras 发表于 2018-8-6 01:48:28

一个完整的事件代码可以写到自己的服务器上吗?
应该是不行的,反正我没有这个办法,你可以把可能用到的时间写成过程,然后用txt放服务器来控制这些过程选择性的运行。如果是接口什么的可以放txt然后取源码。
页: [1]
查看完整版本: 一个完整的事件代码可以写到自己的服务器上吗?