Commit Graph

20 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 071b536770
fix(steam): price text and name extraction (#5)
* fix(steam): price text extraction

fixes #4

* fix(steam): ensure spaces are trimmed from name
2022-08-07 12:39:08 +02:00
Felipe Martin Garcia 79120738ea
chore: removed test loggers 2022-08-07 12:15:42 +02:00
Felipe Martin Garcia 4a4832171a
test: steam 2022-08-07 12:15:32 +02:00
Felipe Martin Garcia 818b59940f
test: heroesdepapel 2022-08-07 12:15:19 +02:00
Felipe Martin Garcia cf94a590b7
test: added gtmstore test 2022-08-07 12:06:19 +02:00
Felipe Martin Garcia c71c9b0517
test: replaced greater with notempty 2022-08-07 12:06:11 +02:00
Felipe Martin Garcia a92b314d5c
test: amazon 2022-08-07 12:01:26 +02:00
Felipe Martin Garcia 89543fe637
refactor: using url.URL between components 2022-08-07 12:01:21 +02:00
Felipe Martin Garcia 3854a1fe11
feat: akiracomics improvements
* added tests
* extracting description
* using ShopOptions to perform request
2022-08-07 08:30:33 +02:00
Felipe Martin Garcia 0cf15e589a
chore: moved mock data to internal package 2022-08-07 08:29:35 +02:00
Felipe Martin Garcia 0838efd4fe
test: fix test assertion order 2022-08-07 08:29:11 +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 d6d7bebc6f
feat: add casadellibro.com 2022-08-06 09:08:52 +02:00
Felipe Martin Garcia 0e560e07ac
fix: handle shop not found properly, log more 2022-08-06 09:07:24 +02:00
Felipe M 9220b50e22
feat: added gtm-store.com support 2022-07-02 16:27:52 +02:00
Felipe M 9f5cd15f5d
chore: removed amazon unnecesary log 2022-01-29 20:44:53 +01:00
Felipe M ef1aa505ee
fix: improved amazon price parsing for latest ui 2022-01-18 20:42:21 +01: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