Skip to content

An example program that scrapes data from AllRecipes.com and store in Elasticsearch

License

Notifications You must be signed in to change notification settings

vv123612/Python-Elasticsearch

 
 

Repository files navigation

RUN ELK

For ELK - run like ordinary docker-compose.yaml file Take yaml file there. But I think in the file nothing special. https://youtu.be/VpAH2IoMzKw?list=PLl1uap9OV0Vuxa1agkUehbb6Iah8_35lo https://github.com/shazforiot/Elasticsearch-logstash-Kibana-Docker-Compose

docker-compose -f "docker-compose.yaml" up

1. My example elastic-search example

create index persons and add 5 entries. For run

python read_from_es.py

curl -X GET 'http://localhost:9200/personal/_search'

2. Find in internet - scrapes recepies

http://blog.adnansiddiqi.me/getting-started-with-elasticsearch-in-python/

Python-Elasticsearch An example program that scrapes data from AllRecipes.com and store in Elasticsearch.

This code is the part of the blog post: Getting started with Elasticsearch in Python

Original code didn't work, but i fixed it.
For run

python fetch_recipes_fix.py

console.es - contain some scripts for recipes index

Example:
curl -X GET 'http://localhost:9200/recipes/_search'

ELK USAGE

kibana
http://127.0.0.1:5601/

indexes
http://127.0.0.1:5601/app/management/data/index_management/indices

About

An example program that scrapes data from AllRecipes.com and store in Elasticsearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.2%
  • JavaScript 3.9%
  • Batchfile 2.9%