This project is a web application that helps users find MySQL query solutions by scraping multiple web pages and using fuzzy string matching to find relevant questions and their solutions.
- Scrapes multiple web pages for MySQL query exercises.
- Uses fuzzy string matching to find questions similar to the user's input.
- Displays the similarity score, source page, and solution link for each matching question.
- Python 3.x
- Flask
- Requests
- BeautifulSoup4
- RapidFuzz
-
Clone the repository:
git clone https://github.com/Debrah-exclusive/Query_finder.git
-
Navigate to the project directory:
cd Query_finder -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
python web_scapper/app.py
-
Open your web browser and go to
http://127.0.0.1:5000. -
Enter your MySQL query question in the textarea and click "Find Answer".
-
The application will display a list of matching questions, their similarity scores, source pages, and solution links.