{$P8LANG['spider']['rule']['add']}{$P8LANG['spider']['rule']['update']} - $data[name]
列表页规则 内容页规则 规则帮助
{$P8LANG['spider']['rule']['name']} |
{$P8LANG['spider']['category']} |
页面编码 |
列表倒序采集 |
{$P8LANG['spider']['rule']['timeout']} | {$P8LANG['spider']['rule']['timeout_hint']}
列表页规则 | {if isset($data['data']['list_page'])}{$data['data']['list_page']}{/if} 页码范围 - 页 补零位
内容页列表提取规则 必须有{#title#正则}(标题)和{#url#正则}(内容页链接)这两项。{#frame#正则}为缩略图。 | {if isset($data['data']['list_item'])}{html_entities($data['data']['list_item'])}{/if} 保存缩略图 截取上下文 {if isset($data['data']['list_item_start'])}{html_entities($data['data']['list_item_start'])}{/if}到 {if isset($data['data']['list_item_end'])}{html_entities($data['data']['list_item_end'])}{/if}
内容页分页提取规则 | {if isset($data['data']['content_page'])}{html_entities($data['data']['content_page'])}{/if} 截取上下文 {if isset($data['data']['content_page_start'])}{html_entities($data['data']['content_page_start'])}{/if}到 {if isset($data['data']['content_page_end'])}{html_entities($data['data']['content_page_end'])}{/if}
自定义提取规则 |
截取上下文 到 内容替换 |

{$P8LANG['spider']['rule_hint']}

- $name