Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# ud036_StarterCode
Source code for a Movie Trailer website.
# How to Open the Files
1. Fork this repository to your own Github.
2. Clone this repository from your Github locally to your computer.
3. Run the file entertainment_center.py
21 changes: 21 additions & 0 deletions entertainment_center.py

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions fresh_tomatoes.html

Large diffs are not rendered by default.

Binary file added fresh_tomatoes.pyc
Binary file not shown.
15 changes: 15 additions & 0 deletions media.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import webbrowser

class Movie():
"""This class provides a way to store movie related information"""

def __init__(self,
movie_title,
poster_image,
trailer_youtube):
self.title = movie_title
self.poster_image_url = poster_image
self.trailer_youtube_url = trailer_youtube

def show_trailer(self):
webbrowser.open(self.trailer_youtube_url)
Binary file added media.pyc
Binary file not shown.