1
This commit is contained in:
Alex Yatskov 2015-08-17 18:42:26 +09:00
parent 7fdbf9ef52
commit dafa1ad56b
2 changed files with 21 additions and 0 deletions

20
cache/geocache.json vendored
View File

@ -939,6 +939,10 @@
"Latitude": 35.3366651,
"Longitude": 139.488675
},
"1-3-14 Tomoe Chigasaki Kanagawa": {
"Latitude": 35.3287241,
"Longitude": 139.4059971
},
"1-3-14 Tomoe, Chigasaki 253-0056, Kanagawa Prefecture": {
"Latitude": 35.3287241,
"Longitude": 139.4059971
@ -1443,6 +1447,10 @@
"Latitude": 35.4413636,
"Longitude": 139.6541524
},
"1-7-21 Tomoe Chigasaki Kanagawa": {
"Latitude": 35.3284491,
"Longitude": 139.4047083
},
"1-7-23-1F Higashikaigankita, Chigasaki, Kanagawa Prefecture": {
"Latitude": 35.3254273,
"Longitude": 139.4080333
@ -2119,6 +2127,10 @@
"Latitude": 35.4544482,
"Longitude": 139.6362086
},
"2-1-43 Tomoe Chigasaki Kanagawa": {
"Latitude": 35.3270519,
"Longitude": 139.4028501
},
"2-1-5 Komachi | Sakurai Building 1F, Kamakura 248-0006 , Kanagawa Prefecture": {
"Latitude": 35.3185887,
"Longitude": 139.5521867
@ -2299,6 +2311,10 @@
"Latitude": 35.3127956,
"Longitude": 139.5485476
},
"2-14 Asahigaoka Chigasaki Kanagawa": {
"Latitude": 35.3331023,
"Longitude": 139.4227181
},
"2-14 Odakicho, Yokosuka, Kanagawa Prefecture": {
"Latitude": 35.281019,
"Longitude": 139.6708506
@ -4639,6 +4655,10 @@
"Latitude": 35.5166119,
"Longitude": 139.4219543
},
"5-14 Saiwaicho Chigasaki Kanagawa": {
"Latitude": 35.3307297,
"Longitude": 139.410255
},
"5-15-33 Hiyoshi Kohoku-ku Yokohama Kanagawa": {
"Latitude": 35.5462154,
"Longitude": 139.6542661

View File

@ -65,6 +65,7 @@ func (tabelog) review(doc *goquery.Document) (name, address string, features map
text := doc.Find(fmt.Sprintf("#js-rating-detail > dd:nth-child(%d)", (index+1)*2)).Text()
if features[category], err = strconv.ParseFloat(text, 8); err != nil {
err = fmt.Errorf("invalid value for %s", category)
return
}
}