Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genietim/migros-coop-recipe-export
A series of simple scripts to export all bills available from Coop and Migros websites
https://github.com/genietim/migros-coop-recipe-export
Last synced: 3 days ago
JSON representation
A series of simple scripts to export all bills available from Coop and Migros websites
- Host: GitHub
- URL: https://github.com/genietim/migros-coop-recipe-export
- Owner: GenieTim
- License: mit
- Created: 2023-04-23T13:57:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-03T09:25:57.000Z (2 months ago)
- Last Synced: 2024-10-11T13:13:34.614Z (27 days ago)
- Language: JavaScript
- Size: 357 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# migros-coop-recipe-export
A series of simple scripts to export all bills available from Coop and Migros websites.
## Setup
```bash
git clone [email protected]:GenieTim/migros-coop-recipe-export.git
cd ./migros-coop-recipe-export
yarn
python -m pip install -r requirements.txt
```## How to use
There are a few scripts, that partially work together.
- ./bin/run.js: use `node bin/run.js` – this script will open a browser, ask you to login (enter `y` in the command line after doing so) and then download all your bills found on the Migros and afterwards the Coop website to a new folder `downloads`
- ./parse-coop-recipe-pdf-to-csv.py: use `python parse-coop-recipe-pdf-to-csv.py {pdf-recipe-file}` – this script will be called by `bin/run.js` already, but you can also use it standalone. What it does is to parse the PDF file and translate it into a nice CSV tabular data file
- ./combine-all-by-month.py: use `python combine-all-by-month.py` – this script will read all the csv files stored in the## Disclaimer
Use on your own risk.
Check the LICENSE: I will not take any responsibility for anything you do with this software.