-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query is not added #15
Comments
Oh, what a nice one! I think I see where this is coming from. I'll fix it asap! Update: The first query won't work because there's no searched text. I'll update the bot asap. The second one won't give notifications because there doesn't seem to be new posts for this query |
Please try using Vinted-Notifications:query-without-text and tell me if it fixed the query not being accepted! |
Thank you for your responsiveness ! But this one worked, many thanks but does not take into consideration the condition of the item, it sends all the right items at the right price but not the right conditions. |
I have some answers I can already provide you:
Can you tell me if you did pull the proper branch (query-without-text) and return me the errors returned by the app ? |
Okay I fixe it, thanks again. elif db.is_query_in_db(searched_text[0]) is True: |
Keeping this open as I see where I did an oopsie. Will keep this thread informed as soon as it is fixed! |
Now we're good to go! Did you manage to fix pyVinted's dependency? I case you didn't, here's how: go to your installation path, find the /items/items.py file, and edit this line :
to
|
no , I extracted the needed parameters and matched them with data. Oh okay! how simple it was! |
TypeError: 'NoneType' object is not iterable
No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/lib/python3.12/site-packages/telegram/ext/_application.py", line 1325, in process_update
await coroutine
File "/lib/python3.12/site-packages/telegram/ext/_handlers/basehandler.py", line 158, in handle_update
return await self.callback(update, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
telegram_bot.py", line 41, in add_query
if db.is_query_in_db(searched_text[0]) is True:
~~~~~~~~~~~~~^^^
There are certain links that are not added, and when they are added I do not receive telegram notifications.
Example : https://www.vinted.com/catalog?search_id=20718377414&time=1738742154&catalog[]=80¤cy=EUR&catalog_from=0&size_ids[]=1651&size_ids[]=1652&size_ids[]=1653&size_ids[]=1654&page=1&status_ids[]=2&status_ids[]=1&status_ids[]=6&price_from=0&price_to=50
Query is added but didn't receive notifications :
https://www.vinted.com/catalog?search_text=jogging%20homme&price_to=25.0¤cy=EUR&size_ids[]=208&status_ids[]=2&status_ids[]=1&status_ids[]=6&brand_ids[]=53&search_id=20333985887&order=newest_first&time=1738743975
The text was updated successfully, but these errors were encountered: