Coder Social home page Coder Social logo

npl-movie-interface's Introduction

Movie List Project

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

Part 1: Movie Details Scraper

Overview

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.

Usage

  1. Run the script python3 ./src/movie_scraper.py.
  2. It will fetch movie details from the website and save them to a CSV file named movie_details.csv.

Part 2: Frontend Movie Listing

Overview

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.

Features

  • Display a list of movies.
  • Search movies by title.
  • View detailed information for each movie.

Screenshots

Movie Listing Figure 1: Movie Listing Page

Movie Details Figure 2: Movie Details View

Setup

Frontend

  1. Navigate to the front directory.
  2. Install dependencies npm install.
  3. Place Scraped CSV at front/src/data/movie_details.csv
  4. Start the frontend server npm run dev.

Don't forget to fill the .env file following the .env.example template

Scraper

  1. Run pip install -r requirements.txt located in the src directory.

Technologies Used

  • Frontend: React.js, Next.js, tailwind
  • Scraper: Python, BeautifulSoup, Requests

Credits

npl-movie-interface's People

Contributors

lyne986 avatar thomylorenzatti avatar carpetic avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

thomylorenzatti

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.