suhassrivats / Movie-Trailer-Website

A website that contains the trailers of all my favorite Movies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movie Trailer Website

A Movie Trailer Website where users can see my favorite movies and watch the trailers.

How to run this code on your PC?

  • Open the terminal
  • Clone this code by typing git clone https://github.com/suhassrivats/Movie-Trailer-Website.git in terminal
  • Go to the cloned (or downloaded) folder location. Ex: cd Movie-Trailer-Website
  • Run the application by typing python entertainment_center.py in terminal
  • This will create a file called fresh_tomatoes.html and render it in the browser
  • Click on the Movie Tile to see youtube trailer

Files in this repository

  • README.md - Information of the project (this file)
  • entertainment_center.py - The main entry to the program. Builds the movie list and calls the method to generate the web page.
  • fresh_tomatoes.py - It takes in a list of movies and builds the HTML. It also opens up your default browser to display the generated HTML page (fresh_tomatoes.html).
  • media.py - Contains the class that provides the data structure to hold movie information.

User Interface

Index Page

Index Page

Click on one of the Movie Tiles to watch the trailer

Movie Trailer

About

A website that contains the trailers of all my favorite Movies


Languages

Language:Python 100.0%