Skip to content

Instantly share code, notes, and snippets.

@xtrcode
Created January 8, 2020 16:23
Show Gist options
  • Save xtrcode/cb5b426dcc0f152a11dc0ea4cab87039 to your computer and use it in GitHub Desktop.
Save xtrcode/cb5b426dcc0f152a11dc0ea4cab87039 to your computer and use it in GitHub Desktop.
github.com/j0k3r/graby siteconfig for kaspersky's securelist.com
# Author: xtrcode
# Set full title
title: //h1[contains(concat(' ',normalize-space(@class),' '),' entry-title ')]
date: //time
author: //a[@rel='author']
# Content is here
body: //div[contains(concat(' ',normalize-space(@class),' '),' entry-content ')]
# Try yourself
test_url: https://securelist.com/flame-bunny-frog-munch-and-beetlejuice-2/32855/
test_url: https://securelist.com/the-duqu-2-0-persistence-module/70641/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment