Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crawler-template-manual
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkai
crawler-template-manual
Commits
f7bfc991
Commit
f7bfc991
authored
Oct 22, 2021
by
Jinhao Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
0c07ae33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
README.md
+3
-1
No files found.
README.md
View file @
f7bfc991
...
...
@@ -270,10 +270,11 @@
{
"parserName": "time",
"parsingType": "auto"
"command": "yyyy MM dd"
"command": "yyyy MM dd
|yyyy MM dd HH mm ss
"
}
]
>>>>```
>>>> 匹配时如果有多个时间规则都能匹配出时间,则优先选择过去一年内距离现在最近的时间作为最佳结果,如果没有得到最佳结果,那么取绝对值距离现在最近的过去或未来时间作为最佳结果
>>>>```
"time":
[
{
...
...
@@ -328,6 +329,7 @@
}
]
>>>>```
>>>> 组件模版匹配优先级规则: 优先匹配最精准的域名,其次如果有内容标识符则优先匹配,最后执行 URL 正则表达式匹配
>>>>##### fixurl:根据上次访问的 URL,结合输入(绝对或相对 URL),生成一个新的绝对 URL,例:
>>>>```
"url":
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment