The Movie Database Support

Hi,

First, let me start by saying a huge thank you to the team behind TMDB. It is a truly awesome resource. Thank you!

I am doing a small hobby project, where I take movie titles from a local cinema, and need to match them to TMDB using the search endpoint.

I am facing two challenges, that I feel are somewhat related - and I am hoping somebody has a good idea for me. :)

Example

Cinema lists: "Avengers: End Game (2D)"

  • Challenge 1:

The 2D/3D throws the search off, so it cannot match (because obviously the movie title does NOT really 2d/3d. This is pretty easily resolved by me always removing 2d/3d from title, so easy enough to work around.

  • Challenge 2: The title is not 100% accurate, notice space in end game/endgame:

Cinema: "Avengers: End Game" TMDB (and official): "Avengers: Endgame"

Question:

Is there a way to make the searches more "fuzzy", that would help with my above two challenges?

3 replies (on page 1 of 1)

Jump to last post

Hi @monkeypawz,

There are no search options right now but search is a feature that is already on deck to get re-built. I have an open ticket here that you can vote for and follow.

Thanks. :)

I had a similar issue, I mostly got it working by doing a Bing search in code using (http://www.bing.com/search?q= "IMDB" + move title) and parsing the Bing search results in code to get the corrected movie name I firstly tried google, but they obfuscate the results behind many layers so you cannot chop the result into better movie names.

This is open to different implementations of how you parse the Bing results, mainly look for the IMDB matches that are found with lots of tricky string manipulation

So if your up for the extra work you might firstly try searching on the movie name you have in the Movie DB search and if that doesn't get what you want then try the Bing search idea to get a better name and use it in the Movie DB search I know it is a lot of work and may break if Bing changes their page layout, etc, but worked quite well for me. I'm not even sure if it is legal to scrape Bing search results but you can.

happy coding

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login