An open API service indexing awesome lists of open source software.

https://github.com/gawadx1/emotion-movie-recommender

A Streamlit-powered web app that analyzes user emotions and suggests movies based on mood, using real-time IMDb data scraping.
https://github.com/gawadx1/emotion-movie-recommender

movie-recommendation movie-recommendation-app web-scraping web-scraping-with-beautifulsoup

Last synced: 3 months ago
JSON representation

A Streamlit-powered web app that analyzes user emotions and suggests movies based on mood, using real-time IMDb data scraping.

Awesome Lists containing this project

README

          

# 🎬 emotion-movie-recommender

## 📝 Overview

This is a **Streamlit web app** that recommends movies based on your mood. Simply enter how you're feeling, and the app will detect your emotion and suggest movies from IMDb!

## 🚀 Features

✅ **Emotion Detection**: Analyzes user input to determine mood.
✅ **IMDb Movie Recommendations**: Fetches movies based on mood-related genres.
✅ **User-Friendly Interface**: Built with **Streamlit** for a seamless experience.
✅ **Real-time Fetching**: Retrieves movie data dynamically.
✅ **Easy Deployment**: Can be hosted on **Streamlit Cloud, Render, or Hugging Face Spaces**.

## 🛠️ Installation

1. Clone the repository:
```bash
git clone https://github.com/gawadx1/emotion-movie-recommender.git
cd emotion-movie-recommender
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the Streamlit app:
```bash
streamlit run mood2movies.py
```

## 🖥️ Usage

1. Open the app in your browser.
2. Enter how you feel in the text box.
3. Click **"Get Movies"** to receive recommendations.
4. Enjoy your movie night! 🎥🍿

## 📦 Dependencies

- `streamlit`
- `beautifulsoup4`
- `lxml`
- `requests`

## 🌍 Deployment

### Deploy on **Streamlit Cloud**

1. Push your code to GitHub.
2. Go to [Streamlit Cloud](https://share.streamlit.io/).
3. Connect your repo and deploy!

### Deploy on **Render** or **Hugging Face Spaces**

- Render: Free Streamlit hosting
- Hugging Face: Best for AI/ML demos

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🤝 Contributing

Feel free to fork this repository, submit issues, and contribute improvements!

## ⭐ Acknowledgments

- Built with ❤️ using **Python & Streamlit**
- IMDb for movie recommendations