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: info:
name: Iomega Lenovo EMC with shared NAS name: Iomega Lenovo EMC with shared NAS

View File

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