Python IMDbPY – Getting bottom 100 movies

In this article we will see how we can retrieve the information of bottom 100 movies in IMDb database, IMDb sets ratings to all the movies.

In order to get the bottom 100 movies by IMDb we will use get_bottom100_movies method.

Syntax : imdb_object.get_bottom100_movies()

Argument : It takes no argument

Return : It returns list of 100 element and each element is idbm movie object



Below is the implementation

filter_none

edit
close

play_arrow

link
brightness_4
code

# importing the module
import imdb
   
# creating instance of IMDb
ia = imdb.IMDb()
   
# getting top 250 movies
search = ia.get_bottom100_movies()
  
# printing only last 10 movies title
for i in range(90, 100):
    print(search[i]['title'])

chevron_right


Output :

Swept Away
The Adventures of Pluto Nash
Ballistic: Ecks vs. Sever
Beverly Hills Chihuahua
Holmes & Watson
Exorcist II: The Heretic
The Cat in the Hat
The Hungover Games
Street Fighter
Escape Plan 2: Hades

Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.