47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
|
[index]
|
||
|
[index.item]
|
||
|
path = "a.property_title"
|
||
|
attr = "href"
|
||
|
|
||
|
[index.next]
|
||
|
path = "div.deckTools.btm a.nav.next.rndBtn.rndBtnGreen.taLnk"
|
||
|
attr = "href"
|
||
|
|
||
|
[item]
|
||
|
scale = 5.0
|
||
|
|
||
|
[item.name]
|
||
|
path = "h1#HEADING"
|
||
|
|
||
|
[item.address]
|
||
|
path = "address span.format_address > span:not(.extended-address)"
|
||
|
|
||
|
[item.weight]
|
||
|
path = "h3.reviews_header"
|
||
|
regex = "^(\d+)"
|
||
|
|
||
|
[item.semantics]
|
||
|
[item.semantics.service]
|
||
|
path = "ul.barChart div.ratingRow img:nth-child(2)"
|
||
|
regex = "^([0-9]*\.?[0-9]+)"
|
||
|
attr = "alt"
|
||
|
def = {"accomodating": 1.0, "affordable": 0.0, "atmospheric": 0.0, "delicious": 0.0}
|
||
|
|
||
|
[item.semantics.food]
|
||
|
path = "ul.barChart div.ratingRow img:nth-child(1)"
|
||
|
regex = "^([0-9]*\.?[0-9]+)"
|
||
|
attr = "alt"
|
||
|
def = {"accomodating": 0.0, "affordable": 0.0, "atmospheric": 0.0, "delicious": 1.0}
|
||
|
|
||
|
[item.semantics.value]
|
||
|
path = "ul.barChart div.ratingRow img:nth-child(3)"
|
||
|
regex = "^([0-9]*\.?[0-9]+)"
|
||
|
attr = "alt"
|
||
|
def = {"accomodating": 0.0, "affordable": 1.0, "atmospheric": 0.0, "delicious": 0.0}
|
||
|
|
||
|
[item.semantics.atmosphere]
|
||
|
path = "ul.barChart div.ratingRow img:nth-child(4)"
|
||
|
regex = "^([0-9]*\.?[0-9]+)"
|
||
|
attr = "alt"
|
||
|
def = {"accomodating": 0.0, "affordable": 0.0, "atmospheric": 1.0, "delicious": 0.0}
|