github ngshiheng/michelin-my-maps v1.3.0

latest releases: v3.3.2, v3.3.1, v3.3.0...
3 years ago

1.3.0 (2022-06-20)

Feature

  • log url for phone number warning (32f00d4)
  • add structured logging with logrus (da94908)
  • 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

  • deps: update module github.com/stretchr/testify to v1.7.3 (ee1f33d)
  • deps: update module github.com/stretchr/testify to v1.7.2 (95e076d)
  • deps: update module github.com/nyaruka/phonenumbers to v1.0.75 (da9d1c3)
  • deps: update module github.com/stretchr/testify to v1.7.1 (c7e6a50)
  • renovate config (f5304c8)
  • invert long lat (eec3b57)
  • remove async (3575150)

Documentation

Tests

Code Refactoring

  • app: update XPath for phone number and website url (49c1636)
  • associate award with startUrls (c5d887f)
  • parse longitude and latitude data directly from XML (3136423)
  • add parser.ParsePhoneNumber (a0f9c12)
  • 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

Chores

  • generated: update generated csv automatically (ea28f75)
  • generated: update generated csv automatically (96d9de6)
  • bin: update bin automatically (15bd7d5)
  • cache folder pattern (55dbf65)
  • generate new michelin guide restaurant (079302c)
  • update build (c485de6)
  • run go mod tidy (c2f796b)
  • run go mod tidy post update (ecc945c)
  • 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)

CI

  • add autostash flag to automatically stash and pop pending changes (4ddf64d)
  • run scraper binary directly (b98bbc7)
  • refactor to use default_author (560af4d)
  • add missing env (5ce22f5)
  • add step to build and commit go binary (e6baef3)
  • add upload artifact step (e06bbb8)
  • fix invalid arithmetic operator due to float (8d2155f)
  • only run ci on Go related changes (f149c3c)
  • add workflow_dispatch to job (182c590)
  • add scheduled job to scrape data quarterly (c44bbca)
  • add verbose flag to test (e2a79b4)
  • remove duplicate test job on main branch (c0c1b70)
  • add more default presets (d41cd1c)
  • add semantic release job (1a67779)
  • add test job (4859415)

Don't miss a new michelin-my-maps release

NewReleases is sending notifications on new releases.