This is a python program to generate a webpage showing trailers of the latest movies of 2018.
- media.py defines the
Movie
class, which has the following attributes: -
- title
- poster_image_url
- trainler_youtube_url
- fresh_tomatoes.py defines a set of functions to generate and open a web page;
- entertainment_center.py creates
Movie
objects, then generates and open a web page by callingopen_movies_page()
function defined in fresh_tomatoes.py.
If you just want to check the web page, simply go the directory containing the HTML
file of index.html
and open it with your browser, or click on me. Then, enjoy it.
Or, if you want to rebuild the whole page, you can open your terminal and run the following commands:
$ python entertainment_center.py
which will generate a web page named index.html
and then open it using you browser.
Contributions are always welcome! Please read the contribution guidelines first.