Skip to content

muriarty1893/the-elastic-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Elastic-search Implementation Project

This project scrapes the best-selling gaming mouse from Trendyol website and indexes the data into Elasticsearch to use the search engine. It allows for fuzzy searching of the indexed products.

πŸ“’ Index

⚑ Usage

πŸ”Œ Installation

  1. Clone the repository: git clone https://github.com/yourusername/trendyol-scraper.git

  2. Navigate to the project directory: cd trendyol-scraper

  3. Install the required Python packages: pip install -r requirements.txt

  4. Ensure you have Elasticsearch running locally and configure the connection parameters in the create_elastic_client function.

πŸ“¦ Commands

  • To run the scraper, index data into Elasticsearch and searching: python trendyol_scraper.py

πŸ”§ Development

πŸ““ Pre-Requisites

  • Python 3.x
  • Elasticsearch 7.x

πŸ“ File Structure

.

β”œβ”€β”€ flags

β”‚ └── indexing_done_37.flag # Flag file to check if indexing is done

β”œβ”€β”€ trendyol_scraper.py # Main Python script

β”œβ”€β”€ requirements.txt # Python dependencies

└── README.md # This file

No File Name Details
1 trendyol_scraper.py Main script to scrape data and index into Elasticsearch
2 requirements.txt List of Python dependencies
3 README.md Project documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published