Piero24 / TelegramBot-AmazonOffers

Receive alerts for the most irresistible Amazon offers straight to your Telegram, courtesy of our bot.
https://linktr.ee/webofferte
Apache License 2.0
6 stars 2 forks source link

Issues with amazon.de Germany - configs.category_keywords' has no attribute 'categories_2' #9

Open araca opened 2 months ago

araca commented 2 months ago

Hello, i a want to use the bot, with amazon.de Germany, but i have these Errors: category_keywords.txt

<class 'AttributeError'> - module 'configs.category_keywords' has no attribute 'categories_2' 2024-09-04 10:51:10 :: [main.py ] - [ ] - [CRITICAL] - Error during bot execution: <class 'AttributeError'> - module 'configs.category_keywords' has no attribute 'categories_2' 2024-09-04 10:51:10 :: [main.py ] - [ ] - [CRITICAL] - Error during bot execution: <class 'AttributeError'> - module 'configs.category_keywords' has no attribute 'categories_2'

I have tried german or english keywords.

Piero24 commented 2 months ago

Hi, @araca. Unfortunately, at the moment, my API key has expired because there haven’t been any recent purchases through my link. For this reason, I can’t fix any bugs on my own until a purchase is made through my link. But I can try to help you to solve the problem. Here are a couple of steps:

1) The file that you have added to the Issue is a .txt file. Are you sure you have used a file called category_keywords.py? 2) Have you tried the bot in the Amazon.it market? If so, have you found the same problem? Otherwise, try it if possible in the Italian market. Even if I think the problem is not related to the market but to the files checking that all works with a known env is a good start.