by Gene Ting-Chun Kao
The source code is forked from the starter code repository.
Result HTML page can be found here in my github.io. (The preview movie trailer is not working on the github website, please download or clone it to try it.)
- Download and run the code
$ git clone https://github.com/GeneKao/movie-trailer-website.git
$ cd ud036_StarterCode
$ python entertainment_center.py
- After running the code through python, the browser should be opened automatically. If not then open the fresh_tomatoes.html in the folder.
In the file media.py, two classes Movie() and TvShow() are inheritance class of Video(). And original fresh_tomatoes.py is modified using if condition to determine between TV shows and movie, so different attributes can be shown on the website.
Any suggestion please contact me.