An example program that scrapes data from AllRecipes.com and store in Elasticsearch.
It is built while learning elasticsearch basics.
- Install dependencies from pip.
pip install -r requirements.txt
fetch_recipies.pyis the main script.python fetch_recipies.py fetchwill scrap saldas data and put it in ES.python fetch_recipies.py searchwill give the search res against the query defined infetch_recipies.py
- You can customize every script accordingly.
- we can run
scrap_data.pyseperately just to scrap salads and print, It is independent.