3a0c9ac5dd
Fixed error with thread_id when responding to a message in a group that has no topics
main
Joan
2024-10-08 09:42:57 +02:00
2224f2c174
Merge branch 'add-support-for-group-threads' into 'main'
Joan Cano2024-04-19 11:12:54 +00:00
7751924f21
Add support for groups with threads by including the thread_id into the bot requests
Alejandro Perez Lopez
2024-04-19 12:44:34 +02:00
23e5cfd878
Updated to ptb 21.0.1 and added socks5 proxy support
Joan
2024-03-24 19:08:37 +01:00
583cca776f
Merge branch 'fix-error-when-no-amazon-links-are-found' into 'main'
Joan Cano2024-03-21 09:21:31 +00:00
b7322c863d
Return a controlled value when the link is invalid (not an amazon link) so we avoid throwing an exception
Alejandro Perez Lopez
2024-03-20 21:34:16 +01:00
9a8a7a291b
Improved original message obfuscation
Joan
2023-12-29 11:08:43 +01:00
fa12c7e9e5
Added original message with original link obfuscation
Joan
2023-12-29 11:06:04 +01:00
5bca90947b
Merge branch 'support_smid_parameter_for_variants' into 'main'
Joan Cano2023-09-30 17:30:37 +00:00
516a2a9f3a
Missing replace assigment (the change was not included into the commit by mistake)
Alejandro Perez Lopez
2023-09-30 18:19:56 +02:00
d08c35e134
Merge branch 'support_smid_parameter_for_variants' into 'main'
Joan Cano2023-09-27 15:17:54 +00:00
87e893dcc8
Support both 'm' and 'smid' parameters if present
Alejandro Perez Lopez
2023-09-27 15:27:41 +02:00
6dcd7af4e1
Moved logging to only show if link is found
Joan
2023-09-22 13:04:40 +02:00
3c713b4a5d
Updated logo
Joan
2023-09-22 12:49:05 +02:00
42e5e4a594
Merge branch 'refactor-bot-class-for-doing-it-more-readable' into 'main'
Joan Cano2023-09-22 10:43:10 +00:00
38fdf3bb50
Move logic in case the captcha resolution fails or we can't extract the data after the captcha resolution to avoid errors
Alejandro Perez Lopez
2023-09-22 12:37:05 +02:00
aec433fa9c
Remove duplicated code by extracting repeated code into methods and add feedback for invalid urls
Alejandro Perez Lopez
2023-09-09 19:23:56 +02:00
bf1b9309e1
Create a class for storing the scraped product information
Alejandro Perez Lopez
2023-09-09 19:22:40 +02:00
1d6213ffb1
Modify .gitignore in order to add more routes for images
Alejandro Perez Lopez
2023-09-09 19:22:06 +02:00
fe1ac2cedd
Extract into a separated method the logic for building the referer url
Alejandro Perez Lopez
2023-09-05 12:04:14 +02:00
b717e9fdc4
Fixed exception handling
Joan
2023-09-05 10:24:19 +02:00
a60aa4c580
Added last_screenshot for debugging purposes
Joan
2023-09-05 10:24:10 +02:00
8071324adf
Changed SQL INSERT so no injection is possible
Joan
2023-09-02 22:00:59 +02:00
d3651352ee
Use same version of chrome driver and browser
Joan
2023-09-02 22:00:37 +02:00
e124ca4f2f
Syncing old changes...
Joan
2023-08-28 20:51:29 +02:00
d99399f6ac
Added xpath method for obtaining image when normal fails
Joan
2023-07-11 12:56:02 +02:00
e3d7db2916
Updated git ignore
Joan
2023-07-11 12:10:46 +02:00
243d0ba749
Added image placeholder if cant retrieve it
Joan
2023-06-28 13:26:31 +02:00
a40f55ca4e
Changed link to button
Joan
2023-03-14 10:16:58 +01:00
9979672b46
Added captcha solving method
Joan
2023-03-06 22:34:43 +01:00
e40ca2f165
Added DUMMY file to create products folder
Joan Cano
2023-03-06 17:20:19 +01:00
e6ef4365dd
Fixed DB path
Joan Cano
2023-03-06 17:16:58 +01:00
8e5ab0ef81
Fixed Dockerfile
Joan Cano
2023-03-06 17:13:20 +01:00
76cbb0c6cb
Fixed Dockerfile
Joan Cano
2023-03-06 17:12:41 +01:00
444921daa6
Added .env skeleton file
Joan Cano
2023-03-06 17:06:35 +01:00
a4a76966fe
Initial commit, refactored some things from original code and removed WP functionality
Joan Cano
2023-03-06 17:04:59 +01:00