Updated matcher & added extractor

patch-1
Prince Chaddha 2021-06-21 14:07:42 +05:30
parent 8b94a2b701
commit c9d407b03f
2 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
id: iomega-lenovo-emc-shared-nas.yaml
id: iomega-lenovo-emc-shared-nas
info:
name: Iomega Lenovo EMC with shared NAS

View File

@ -14,9 +14,17 @@ requests:
matchers-condition: and
matchers:
- type: word
words:
- 'ipTIME'
- type: regex
regex:
- <TITLE>ipTIME ([A-Z0-9_-]+)<\/TITLE>
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- <TITLE>ipTIME ([A-Z0-9_-]+)<\/TITLE>