Skip to content

nolansingroy/Movie_Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

The purpose of this python program for the audience, is to view your favorite movie trailers with basic information such as title, storyline on commandline, cover image, and youtube trailer. Include in this repository movie file is two folders, one named the "Art of Percption" and the other named the "Art of Perception_Compiled". The "Art of Perception" folder is used for testing purposes. You may just open the art of perception_compile if you wish.

Dependencies

Python 2.7 here

Git here --optional this is need for the command git clone you may just download the repository *zip file *Extract it then *Execute entertainment.py then finally *Execute freshtomatoes.html

Install

Simply clone this git repository

Run the program

To run the program, from within the "Art of Perception" folder: 
                * 1. Excute entertainment.py --May need to do this twice to see the html
                * 2. If the html is not already loaded in the default browser, then click on the generated html file (freshtomatoes.html) 

Example

$ git clone https://github.com/nolansingroy/Movie_Website.git
$ python entertainment_center.py

Edit

To edit the program you may refactor entertainment.py's instances of media.py. The media class contains string parameters of (title, storyline, picture_URL, youtube_trailer_url). Be sure to check your code is up to python standards! During the development of this program http://pep8online.com was very useful. 

How it works

The entertainment.py file generates a website (.html file) using freshtomatoes.py with the specific movie trailers and basic information pulling from the parent class media.py.

License

MIT License

Copyright (c) [2017] [Nolan Singroy]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Acknowledgement

Udacity Full Stack Web Developer Nanodegree

freshtomatoes.py

Releases

No releases published

Packages

No packages published