This project loads a html page that contains a list of movie titles along with their posters. When a poster is clicked , its respective trailer gets played.
-
Python 2.7 or Python 3.x
You can download python here.
-
Google API client
You can refer to the API instructions and download it from here.
-
tmdbsimple API
You can refer to the API instructions and download it from here.
-
Clone this project on github
$ git clone https://github.com/sk15973/Project-Movie-Trailer-Website.git
or
download the [zip] (https://github.com/sk15973/Project-Movie-Trailer-Website/archive/master.zip) file.
-
Then move to the project folder and run entertainment_center.py file with your installed version of python like:
$ cd Project-Movie-Trailer-Website
$ python entertainment_center.py
or
$ python3 entertainment_center.py
-
This script will create the fresh_tomatoes.html and open a web browser for you to show the page.
Youtube API returns the first video , it has a check for if its a video, a check on the description or channel regarding the Authenticity of the video does not exist. Kindly change or update if you want to add more movies to the list.
This project was run in Ubuntu 17.04 using Python 3.5. For other versions on other platforms follow here
This code was provided by Udacity for details :