Scripts to pull your Zomato order history
For this script to work, you'll need the following cookies from your Zomato session:
cidPHPSESSIDzat
To get these, login to your Zomato account on the website and open the developer console (press F12). Go to the Application Tab and look for the Cookies section on the left. Copy the values for the cookies mentioned above and paste them in the main.py file.
Video instructions:
zomato.mov
Install dependencies using poetry:
poetry installRun the script:
poetry run python main.pyAll the parsed order information will be saved in a SQLite database named zomato_orders.db in the current directory.
I whipped this up in a couple of minutes so there's definitely some rough edges. I'd also like to do some analysis on the order data so if you have any ideas, feel free to open an issue or a pull request.