Updating database
This commit is contained in:
parent
e4cee9f3fe
commit
21190d88ea
728
build/cache/geocache.json
vendored
728
build/cache/geocache.json
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -68,7 +68,7 @@ func (tripadvisor) review(doc *goquery.Document) (name, address string, features
|
|||||||
|
|
||||||
{
|
{
|
||||||
var addressParts []string
|
var addressParts []string
|
||||||
doc.Find("address span.format_address > span").Each(func(index int, sel *goquery.Selection) {
|
doc.Find("address span.format_address > span:not(.extended-address)").Each(func(index int, sel *goquery.Selection) {
|
||||||
addressParts = append(addressParts, strings.TrimSpace(sel.Text()))
|
addressParts = append(addressParts, strings.TrimSpace(sel.Text()))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user