import grazer
elements={
'AAPL': {
'css_selector': 'fin-streamer.Fw\\(b\\):nth-child(1)', 'html_key': 'value', 'url': 'https://finance.yahoo.com/quote/AAPL',
},
'AMZN': {
'css_selector': 'fin-streamer.Fw\\(b\\):nth-child(1)', 'html_key': 'value', 'url': 'https://finance.yahoo.com/quote/AMZN',
},
}
for result in grazer.graze(elements=elements):
print(result)
# or
for result in grazer.graze(config="./example-config.yaml"):
print(result)
-
Notifications
You must be signed in to change notification settings - Fork 0
Minimal configurable HTML scraper
License
spiceworm/grazer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Minimal configurable HTML scraper
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published