Archived
1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
d774ee8057
chore: End of life notice
Signed-off-by: Julien Riou <julien@riou.xyz>
2023-11-01 09:09:41 +01:00
3b392700d3
feat: Add -monitor option
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-09-01 07:02:18 +02:00
991880f1c9
feat: Add NVIDIA FE (#15)
Signed-off-by: Julien Riou <julien@riou.xyz>
2022-07-22 19:34:20 +02:00
da532104f8
feat: add price range filter (#26)
To avoid scalpers' price, the bot now understand filters on prices
using a minimum and maximum value, in a currency and a pattern to
detect the model.

Example:
```
"price_ranges": [
  {"model": "3090", "max": 3000, "currency": "EUR"},
  {"model": "3080", "max": 1600, "currency": "EUR"},
  {"model": "3070", "max": 1200, "currency": "EUR"}
],
```

More details in README.md.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-05-23 02:40:03 +02:00
1f5cef17d2
Handle Twitter duplicates (#20)
This commit adds a hash attribute to help identify duplicate messages. Tweets
have a TweetID attribute for the initial thread identifier and a LastTweetID
attribute to keep track of the last reply to eventually continue the thread if a
duplicate is detected.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-15 15:13:00 +02:00
9f51c62776
Add MySQL support (#24)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-08 15:20:23 +02:00
47c8a8ace9
Add PostgreSQL support (#23)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-06 10:33:24 +02:00
305b3eeb76
Enable replies on Twitter and Telegram
By default, when a product is available, a notification is sent. When that same
product is not available, a reply is sent to the original message. With tons of
notifications, replies might be seen as flooding. This commit adds an option to
explicitly enable replies on Twitter and Telegram notifiers. By default, reply
messages are disabled.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-01 13:14:00 +02:00
5ac5f78ae2
Add Amazon support (#3)
This commit introduces the Amazon support with calls to the Product Advertising
API (PA API). For now, I was only able to use the "www.amazon.fr" marketplace.
I will add more marketplaces when my Amazon Associate accounts will be
validated.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-01 12:59:16 +02:00
17a88265c6
Add HTTP API
Add `-api` mode to start the HTTP API with the following routes:
- /health
- /shops
- /shops/:id
- /products
- /products/:id

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-30 18:00:12 +02:00
0a9ae46d19
Add Telegram Messenger notifications
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-24 09:35:37 +01:00
21e40e9079
Add Dockerfile
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-09 10:59:26 +01:00
45025def65
Configure headless browser address
Add `browser_address` configuration setting to define where is the headless
browser instead of relying on the default value.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-01 13:11:58 +01:00
4342f65211
Use array of key/value for Twitter hashtags (#1)
With Go, maps are not ordered the way they are declared. Keys can be read at any
order. When a pattern is too large ("rtx 3060"), when placed first, it can match
a name of another product ("rtx 3060 ti"). When placed second, the good hashtag
is chosen. This commit uses an array of maps because arrays are ordered.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-27 18:34:13 +01:00
3a4aba93e5
Release 0.2.0
- new language: go
- new shops: cybertek.fr, mediamarkt.ch
- deprecated shops: alternate.be, minershop.eu
- improved database transaction management
- better web parsing library (ferret, requires headless chrome browser)
- include or exclude products by applying regex on their names
- check for PID file to avoid running the bot twice
- hastags are now configurable

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-27 08:10:43 +01:00
2c7189d7fc
Add mineshop support 2021-01-13 16:48:03 +01:00
29c26167dc
Remove new line in the README 2021-01-13 08:16:51 +01:00
0b0d2727e8
Initial release 2020-12-27 18:27:07 +01:00