“Princess Python (Zelda DuBois) is a fictional character, a supervillain in the Marvel Comics Universe, most notably as a member of the Circus of Crime. She has no superhuman abilities, but rather relies on her snake charming skills and her 25-foot (7.6 m) pet rock python snake. She has fought several superheroes, ranging from the Avengers to Iron Man. She is also notable as she was the first villainess that Spider-Man has faced. She first appeared in The Amazing Spider-Man #22 (Mar 1965).” (source)

The constructor has an optional parameter, which is True by default (search=True). It means that first we use the search function of the RT website and then we try to follow the first link. If search=False, the script tries to access the movie page directly. If it fails, then it falls back to the first case, i.e. it will try to find the movie via search.

Which version is better? It depends :) If there are several movies with the same title, then with search=True you will get the latest movie. If search=False, then you will usually get the oldest movie with that title.

For instance, for me “Star Wars” means episode 4, thus with the title “star wars”, search=False will return the relevant hit. But for “up in the air”, I would like to get the movie from 2009, not from 1940, thus in this case search=True would be better.