1

Updating database

This commit is contained in:
Alex Yatskov 2015-09-20 12:58:05 +09:00
parent e4cee9f3fe
commit 21190d88ea
3 changed files with 729 additions and 1 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -68,7 +68,7 @@ func (tripadvisor) review(doc *goquery.Document) (name, address string, features
{
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()))
})