1.0.0 (2022-03-17)
Feature
- add ExtractPrice to extract pricing info from string (03c6aa9)
- split price into min, max; add currency (32d0717)
- add a util function to validate coordinates (94c4e47)
- pass context from c to detailCollector (12e8987)
- add location (42cbbb6)
- write restaurant to csv (1c4d6b9)
- add basic csv writer (f045edb)
- update start urls & scrape next page (2e1f4e1)
- scrape restaurant coordinates (d48a356)
- add ExtractCoordinates util function to extract longitude and latitude gmaps url (854625a)
- extract restaurant details (67b43e3)
- add restaurant model (8b83773)
- add util parser functions (cd9082c)
- scrape restaurant name (d5c6615)
- add TimeTrack to time function calls (f9bbfa7)
- add colly (3a95afe)
Bug Fixes
Documentation
- add content links (26a94cf)
- update usage with Makefile (0756198)
- add development section (9999024)
- add context, content & inspiration (6a24ee0)
- add basic readme (463e77e)
Tests
- add case where long lat data is unavailable (8aa6923)
- add location (0968ae2)
- add test case (b614489)
- add TestExtractCoordinates (ca39075)
- add TestTrimWhiteSpaces (498395c)
- add TestSplitUnpack (40813f8)
Code Refactoring
- move more xpaths to const (d7958b8)
- move app constants to const.go (1ec9183)
- move crawler to app (8edaba1)
- update build (a363c1c)
- update phone number format to E164 (cacb99a)
- change Type to Cuisine (80720fb)
- add error handling for csv writer (e72ddaa)
- decouple csv writer (e637101)
- rename classification to award (c52bfd8)
- update classification field via context from request url (7bf36e8)
- handle edge cases where len(str) != 2 (a5d04ab)
- reorder (ab5b846)
Styles
- rename file (8f9f9fd)
Chores
- add build (b31e078)
- update build bin (747fc4b)
- add Makefile (e327961)
- update example csv (738c792)
- add example csv (2eb5ae7)
- add semantic commit preset & timezone (fce90b9)
- deps: add renovate.json (11ee460)
- add cache to .gitignore (0275c73)