-
Notifications
You must be signed in to change notification settings - Fork 18
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
Foodsi - new error #31
Comments
yeah. new update... |
can yall send the python code after so i can update my bot |
First I need to know the new endpoint. :( I decompiled the APK and still see v2/restaurants. -.- |
how can i decomply the apk. ill try then i updated the apk today |
I used this http://www.javadecompilers.com/apk |
okay i will check it out & will let u know. |
@antonioli86 how is the file named for the api |
In the past I used apps like AnyTXT to search content in all files. v2/restaurants is in a couple of lib...so files. |
do you have discord, i will give u the apk file in dms. u can search thru it. i got in and its the recent one. |
because here i cant send .apk |
the zip has too much MB'S @antonioli86 |
I took in the morning the APK from APKPure. I did not found the changes... :( |
maybe u took a old version it should be 2.10 not 2.05 |
I took the 2.10. |
maybe its hidden somewhere they keeped the restaurant v2 in there but actually it isnt used |
look around |
have u found anything? @antonioli86 |
Only in the evening I will take a look... |
ok |
ugh... i cant find it |
some dude told me its impossible to find these files inside the code. he said i must do spoofing with skipping certificates of the app |
This is the normal approach. Anyway keep in mind I'm doing this only in my free time - I cannot promise anything. Even I tried some combinations of URL. Also I compared the libs from old version to new one and now are using some additional packages. |
hopefully it will be done soon, i realized all my packages got to status "sold out" not "unavailable" |
maybe try the spoofing method, it might be easier to do @antonioli86 and faster |
A couple of things: I followed this guide: https://medium.com/@roy2477/decrypting-android-app-ssl-traffic-c480e2143743 I did a couple of Fiddler traces - based on some clicking in the app: Host seems is control.kochava.com. Maybe someone based on this can help. |
the control.kochava.com doesnt seem to do anything. just prints success "1" |
i noticed some apis in foodsi.saz file in api.bug.fender.com/log/batch |
not that perfect. During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
@antonioli86 make limit 100 foodsi total items, if it goes above that it doesnt get sent because it went over the flood limit |
it seems to be fine , the servers were dead at the moment |
|
For the httpcore.PoolTimeout error, increase the pool timeout in the code - line 101. Its pool_timeout=20, change to 40 or 50 for example. Another workaround is to build an bot application and increase the connection pool size - https://docs.python-telegram-bot.org/en/v20.5/telegram.ext.applicationbuilder.html. Such errors will appear but application still running. |
Have u got this ? Seems to be running now but interesting |
When access_token is empty (not associated with a value) is when authentication fails. I saw it during testing but not recently (when running normally). Strange because if it fails should raise error:
No message in telegram about that? When Exception it sends error to Telegram bot. |
Thats the thing , it printed i gave u the text |
But still running? Maybe some issue during authentication... hard to debug at this stage. |
still running, but i dont know if its actually working, none product showed yet |
you probably remember when i said:
|
@Robertnoob12 if you see like Thats ok. Timeout errors will happen. |
Its working. ;) Check in telegram or in the run output if you did not missed something. ;) This is only for meals and pastry/bakery. You can always remove this part and have like: |
Its ok, bread and pastries & meals shows all stuff for me |
Hi guys, do you find if it is possible in this API a OR statement? Or a lists of idS? |
Is a question to test... depends on the implementation on their side. |
By restaurants: filter by venue_name: Filter by ids - tried by package id or the offer id in the URL but no success. :( |
If You would like to filter by location You can add filters like These numbers are the coordinates of our city. Eg Warsaw is like 52°14'18.9"N 21°00'15.8"E just find it in google maps |
@M0NSER Does not work like that now. Coordinates and range are taken from your user profile - user used in the authentication. You need to open the app and select the area and then define the range. |
So explain to me, how does it work for eg Poznań and for Warsaw |
Maybe works using such filters but for example I dont use these filters and works based on my user profile - the location position that I set and the range. |
Hi, I edited config file to be as per @Robertnoob12 screenshot and downloaded @antonioli86 's latest script. However I get such error: [opc@instance am_bot]$ python3 watch_script_new.py My python version is 3.6.8. I've editted 18 line "from zoneinfo import ZoneInfo" to "from backports.zoneinfo import ZoneInfo". |
Error is here, when trying to load. Something wrong in config.json
"json.decoder.JSONDecodeError: Expecting ':' delimiter: line 12 column 11 (char 252)" |
{ |
Thank you. Yup, my stupid typo:) |
Favorites is a different story - is a different API endpoint (I wrote before) and parsing of message is slightly different. replace send_photo by send_message and change a bit the parameters: https://docs.python-telegram-bot.org/en/v20.6/telegram.chat.html#telegram.Chat.send_message |
@antonioli86 |
i got it working |
Hi guys How do you handle a situation where the API returns two packages (for today and tomorrow) for a given object? The bot automatically sends two messages, but in the application, you can only purchase today's packages. Only when today's packages are unavailable can you proceed with purchasing tomorrow's. Example below:
|
@wonsky007 to be honest I noted that but did not spent time to think about that. |
Hi,
Seems with latest update they changed something:
Someone already debug it?
The text was updated successfully, but these errors were encountered: