Skip to content

Commit

Permalink
CSS example
Browse files Browse the repository at this point in the history
  • Loading branch information
mtill committed Sep 3, 2017
1 parent 7653c3f commit 657210b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ Some examples:
<code>
sites = [

{'name': 'example-webpage',
{'name': 'example-css',
'parsers': [uri(uri='https://github.com/mtill', contenttype='html'),
css(contentcss='div')
]
},

{'name': 'example-xpath',
'parsers': [uri(uri='https://example-webpage.com/test', contenttype='html'),
xpath(contentxpath='//div[contains(concat(\' \', normalize-space(@class), \' \'), \' package-version-header \')]')
]
Expand Down

0 comments on commit 657210b

Please sign in to comment.