import media
import fresh_tomatoes
toy_story = media.Movie("Toy Story", "Toys come to life", "https://upload.wikimedia.org/wikipedia/en/1/13/Toy_Story.jpg", "https://www.youtube.com/watch?v=KYz2wyBy3kc")
#print toy_story.storyline
#toy_story.show_trailer()

avatar = media.Movie("Avatar", "Marine on alien planet", "https://upload.wikimedia.org/wikipedia/en/b/b0/Avatar-Teaser-Poster.jpg", "https://www.youtube.com/watch?v=5PSNL1qE6VY")
#print avatar.storyline
#avatar.show_trailer()

the_dark_knight = media.Movie("The Dark Knight", "Why so serious?", "https://upload.wikimedia.org/wikipedia/en/8/8a/Dark_Knight.jpg", "https://www.youtube.com/watch?v=EXeTwQWrcwY")
#the_dark_knight.show_trailer()

#movies = [toy_story, avatar, the_dark_knight]
#fresh_tomatoes.open_movies_page(movies)
#print media.Movie.__module__
