This project consists of two parts: a Python script to retrieve movie details from http://www.imsdb.com and save them in a CSV file, and a frontend application to list and search for movies by their title and display those movies informations
The Python script located in the src
directory retrieves movie details from http://www.imsdb.com, including the title, release date, rating, and genre of each movie, and saves them into a CSV file.
- Run the script
python3 ./src/movie_scraper.py
. - It will fetch movie details from the website and save them to a CSV file named
movie_details.csv
.
The frontend application located in the front
directory provides a user interface to browse and search for movies. It displays movie details such as title, release date, rating, and genre.
- Display a list of movies.
- Search movies by title.
- View detailed information for each movie.
- Navigate to the
front
directory. - Install dependencies
npm install
. - Place Scraped CSV at
front/src/data/movie_details.csv
- Start the frontend server
npm run dev
.
Don't forget to fill the .env file following the .env.example template
- Run
pip install -r requirements.txt
located in thesrc
directory.
- Frontend: React.js, Next.js, tailwind
- Scraper: Python, BeautifulSoup, Requests