Skip to content

Commit 657210b

Browse files
committed
CSS example
1 parent 7653c3f commit 657210b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ Some examples:
1919
<code>
2020
sites = [
2121

22-
{'name': 'example-webpage',
22+
{'name': 'example-css',
23+
'parsers': [uri(uri='https://github.com/mtill', contenttype='html'),
24+
css(contentcss='div')
25+
]
26+
},
27+
28+
{'name': 'example-xpath',
2329
'parsers': [uri(uri='https://example-webpage.com/test', contenttype='html'),
2430
xpath(contentxpath='//div[contains(concat(\' \', normalize-space(@class), \' \'), \' package-version-header \')]')
2531
]

0 commit comments

Comments
 (0)