From dafa1ad56b6e0660a823325434cbb1ad9b42acfe Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 17 Aug 2015 18:42:26 +0900 Subject: [PATCH] Updates --- cache/geocache.json | 20 ++++++++++++++++++++ tabelog.go | 1 + 2 files changed, 21 insertions(+) diff --git a/cache/geocache.json b/cache/geocache.json index cebd789..e7a6846 100644 --- a/cache/geocache.json +++ b/cache/geocache.json @@ -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 diff --git a/tabelog.go b/tabelog.go index 1c797e0..ad8abc1 100644 --- a/tabelog.go +++ b/tabelog.go @@ -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 } }