diff options
| -rw-r--r-- | us-cert.gov.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/us-cert.gov.txt b/us-cert.gov.txt new file mode 100644 index 0000000..35ea19b --- /dev/null +++ b/us-cert.gov.txt @@ -0,0 +1,9 @@ +# Page title +title: //h1[@id='page-title'] +# Page subtitle +title: //h2[@id='page-sub-title'] +# Page metadata +date: //footer[contains(concat(' ',normalize-space(@class),' '),' submitted ')] +# Page body +body: //article[contains(concat(' ',normalize-space(@class),' '),' node ')]//div[contains(concat(' ',normalize-space(@class),' '),' content ') and (contains(concat(' ',normalize-space(@class),' '),' clearfix '))] +test_url: https://www.us-cert.gov/ncas/alerts/TA17-181A
\ No newline at end of file |
