Skip to content
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

A way to check / confirm if the addr_id is correct #2

Open
oxalorg opened this issue Apr 24, 2020 · 2 comments
Open

A way to check / confirm if the addr_id is correct #2

oxalorg opened this issue Apr 24, 2020 · 2 comments

Comments

@oxalorg
Copy link

oxalorg commented Apr 24, 2020

I only have one address in BigBasket, but when I initially ran the script it selected some random default address with pincode 400607.

Luckily I decided to check and realized the addr_id it was picking up was not of my location. (I fixed it by logging in --> adding something to cart --> reselecting my delivery address from BB account page)

Can there be a way to also print some details about the address corresponding to the addr_id so that we can verify its picking up the right address?

@SlapBot
Copy link
Contributor

SlapBot commented Apr 24, 2020

If you could get the HTML file when that bug occurs #3 and post here, I'd reckon we can figure out exactly why its occuring.

Another way to get more stability in the concerned issue and print more details about addresses is to refactor that HTML scraping to relying on this API method: https://www.bigbasket.com/auth/member/get-address-slots/

@oxalorg
Copy link
Author

oxalorg commented Apr 24, 2020

Sure. Thanks a lot for creating this script! I already got the slot for today, when I run it next time I'll look into it ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants