Closed sbernaud-courant closed 1 year ago
Hi @sbernaud-courant. Thank you for your feedback. I will look into reducing the output due to not so relevant errors. There is always a trade of between logs to see what is going on and logs that confuse. In this case the error should maybe be a warning as it is resolved by the scanner and I will remove the html part from the error message.
With release 1.14.6 I drastically reduced the output of the 403 captcha errors. It should be much clearer now what's going on.
Hi. With the new release i have this :
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:228][INFO] __ _ __ _ __ _ _ _
[2023-01-23 09:01:09][tgtg][main.py:_print_welcomemessage:228][INFO] ( _)/ )( )/ ) / _) / _) / \ ( ( ( ( ( )( _ \
[2023-01-23 09:01:09][tgtg][main.py:_print_welcomemessage:228][INFO] )( ( ( \ )( ( ( \ _ ( ( / \/ // / ) ) ) /
[2023-01-23 09:01:09][tgtg][main.py:_print_welcomemessage:228][INFO] () \/ () _/ (_/ \)_/_/_))_))(__)(_)
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:229][INFO]
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:230][INFO] Version 1.14.6
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:231][INFO] ©2022, Henning Merklinger
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:232][INFO] For documentation and support please visit https://github.com/Der-Henning/tgtg
[2023-01-23 09:01:09][tgtg][main.py:_print_welcome_message:233][INFO]
[2023-01-23 09:01:09][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:10][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:11][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:12][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:13][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:14][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:16][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:17][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:18][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:19][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:20][tgtg][tgtg_client.py:_post:171][WARNING] Captcha Error 403!
[2023-01-23 09:01:20][tgtg][tgtg_client.py:_post:174][WARNING] Too many captcha Errors! Sleeping for 10 minutes...
Closing. With the latest release, the amount of warnings is drastically reduced. Feel free to reopen the issue or create a new one if you have any further problems.
Hi,
With version 1.14.4 and 1.14.5 i have a lot of messages in the console. I use de windows version. Even i i have errors, the alerts seem to works
Thanks for your great work.
2023-01-16 08:59:05 INFO ____ ___ ____ ___ ____ ___ __ __ _ __ _ ____ ____ 2023-01-16 08:59:05 INFO (_ _)/ __)(_ _)/ __) / ___) / __) / _\ ( ( \( ( \( __)( _ \ 2023-01-16 08:59:05 INFO )( ( (_ \ )( ( (_ \ \___ \( (__ / \/ // / ) _) ) / 2023-01-16 08:59:05 INFO (__) \___/ (__) \___/ (____/ \___)\_/\_/\_)__)\_)__)(____)(__\_) 2023-01-16 08:59:05 INFO 2023-01-16 08:59:05 INFO Version 1.14.5 2023-01-16 08:59:05 INFO ©2022, Henning Merklinger 2023-01-16 08:59:05 INFO For documentation and support please visit https://github.com/Der-Henning/tgtg 2023-01-16 08:59:05 INFO 2023-01-16 08:59:06 INFO Activated notifiers: 2023-01-16 08:59:06 INFO - PushSafer: rF6V9VGproUbycaMM4F9 2023-01-16 08:59:06 INFO - SMTP: ['s.bernaud@courant.fr'] 2023-01-16 08:59:06 INFO Sending test Notifications ... 2023-01-16 08:59:06 ERROR get item error! - (<class 'models.errors.TgtgCaptchaError'>, TgtgCaptchaError(403, b'<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={\'cid\':\'AHrlqAAAAAMARwIct3hdbXIABTJcCQ==\',\'hsh\':\'1D42C2CA6131C526E09F294FE96F94\',\'t\':\'fe\',\'r\':\'b\',\'s\':35558,\'e\':\'be92e6946b251a5573162414ecb23a305518cb22f795cbcda5d2d0264c8313b3\',\'host\':\'geo.captcha-delivery.com\'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>\n'), <traceback object at 0x000002A992B0F140>) 2023-01-16 08:59:07 ERROR get item error! - (<class 'models.errors.TgtgCaptchaError'>, TgtgCaptchaError(403, b'<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={\'cid\':\'AHrlqAAAAAMA4G5HCrI13JgABTJcCQ==\',\'hsh\':\'1D42C2CA6131C526E09F294FE96F94\',\'t\':\'fe\',\'r\':\'b\',\'s\':35558,\'e\':\'4371a9bdd7f4395134f26e69ed993cbce846559293af27ac90295281e5c44c34\',\'host\':\'geo.captcha-delivery.com\'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>\n'), <traceback object at 0x000002A992B0F140>) 2023-01-16 08:59:07 ERROR get item error! - (<class 'models.errors.TgtgCaptchaError'>, TgtgCaptchaError(403, b'<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={\'cid\':\'AHrlqAAAAAMAORUIYw3lzE0ABTJcCQ==\',\'hsh\':\'1D42C2CA6131C526E09F294FE96F94\',\'t\':\'fe\',\'r\':\'b\',\'s\':35558,\'e\':\'2562971ffe63c6894d49e963f9c6e3f5ae6e08bc6969c71498f8d58acaa2efb8\',\'host\':\'geo.captcha-delivery.com\'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>\n'), <traceback object at 0x000002A992BF6080>) 2023-01-16 08:59:13 INFO Scanner started ... 2023-01-16 08:59:14 ERROR get item error! - (<class 'models.errors.TgtgCaptchaError'>, TgtgCaptchaError(403, b'<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={\'cid\':\'AHrlqAAAAAMAbmLYzHwLLBkABTJcCQ==\',\'hsh\':\'1D42C2CA6131C526E09F294FE96F94\',\'t\':\'fe\',\'r\':\'b\',\'s\':35558,\'e\':\'8c8f37031d749efca8d4f9c81c2e6de01c469cd5c1e344fd5359103994af6485\',\'host\':\'geo.captcha-delivery.com\'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>\n'), <traceback object at 0x000002A992BF6080>) 2023-01-16 08:59:14 ERROR get item error! - (<class 'models.errors.TgtgCaptchaError'>, TgtgCaptchaError(403, b'<html><head><title>apptoogoodtogo.com</title><style>#cmsg{animation: A 1.5s;}@keyframes A{0%{opacity:0;}99%{opacity:0;}100%{opacity:1;}}</style></head><body style="margin:0"><p id="cmsg">Please enable JS and disable any ad blocker</p><script data-cfasync="false">var dd={\'cid\':\'AHrlqAAAAAMAm9lAGC0esoIABTJcCQ==\',\'hsh\':\'1D42C2CA6131C526E09F294FE96F94\',\'t\':\'fe\',\'r\':\'b\',\'s\':35558,\'e\':\'542c4e9a0e15ee195c88278a66f8daacee3c8b8dd2b0070b2d150e25de721ccb\',\'host\':\'geo.captcha-delivery.com\'}</script><script data-cfasync="false" src="https://ct.captcha-delivery.com/c.js"></script></body></html>\n'), <traceback object at 0x000002A992BF6080>)