Archived
1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
0a9ae46d19
Add Telegram Messenger notifications
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-24 09:35:37 +01:00
443fbd9106
Remove useless comment in Twitter tests
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-02 09:01:18 +01:00
9692da6852
Truncate too long product names for Twitter
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-02 08:56:47 +01:00
0902b13705
Add USD currency to price format on Twitter
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-28 15:33:59 +01:00
5e19efbad8
Replace strings with regexp for Twitter hashtags
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-02-28 09:45:19 +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