Commit Graph

8 Commits

Author SHA1 Message Date
Felipe Martin c4b1c18881
deps: update (#27)
* deps: golang

* deps: alpine

* refactor: buildx
2024-01-01 20:42:03 +01:00
Felipe Martin 5a1e82ef97
deps: update (#24) 2023-02-27 10:31:01 +01:00
Felipe Martin Garcia 5543a19df1
feat: added server configuration using env vars (#7)
* feat: added server configuration using env vars

* updated readme

* refactor: removed error returns where unneeded
2022-08-09 18:27:37 +02:00
Felipe Martin Garcia e69ecef6c8
ci: general improvements (#6)
* Renamed binary from server to bazaar

* Updated to go1.19

* Added several ignores

* Added makefile and helper scripts

* Added github workflows

* typo: filename

* using workflow inputs/outputs

* added containerfile

* cleanup containerfile

* enable cgo in tests only
2022-08-09 17:05:06 +02:00
Felipe Martin Garcia d55c36c0e2
test: added basic testing to casadellibro
* added composition for shops, which now require a ShopOptions with a client
* added a mock client that returns data from a file in order to test
  the scrapper
* updated all shops
2022-08-06 10:12:45 +02:00
Felipe Martin Garcia 9ac3f2ff2d
feat: updated to go 1.18 2022-08-06 09:18:18 +02:00
Felipe M c29b0fbed4
feat: added support for more shops
- Added support for akiracomics.com, heroesdepapel.es, amazon.es,
  amazon.com, store.steampowered.com
- Added a utils package with helpers to parse prices and times
- Added a shortcut `manager.Retrieve` method to use directly with a
  configured manager (allowing the user to directly call for data
  extraction on an URL without having to parse/retireve the sop
  manually).
2022-01-16 19:39:54 +01:00
Felipe M fe33dd5360
feat: proof of concept 2022-01-02 23:11:00 +01:00