Commit Graph

6 Commits

Author SHA1 Message Date
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 89543fe637
refactor: using url.URL between components 2022-08-07 12:01:21 +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 0e560e07ac
fix: handle shop not found properly, log more 2022-08-06 09:07:24 +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