A compilation of my favourite movies' trailers, names and descriptions.
To run this project, open entertainment_center.py in your favourite text editor, and run it.
To play around with the populate_data() function in the entertainment_center.py, simply change the elements in the movie_search_string array. Note that the algorithm works by taking the most confident search term (the first one) in The Movie Database.
Hit run in your favourite text editor to open the website in your default browser. The website populates the movies' data based on your search strings.
Click on any of the movies' to play their trailer:
If you have questions, do not hesitate to contact me.
NOTE: If you would like to play with the populate_data() algorithm, make sure that the search strings are confident queries. Sometimes if the search doesn't work, then s['poster_path'] comes out as a NoneType object. This gives you a run-time error as a NoneType object cannot be concatenated with a str type object.