The Movie Database Support

If I try to access up to 1001 page or greater in "discover/movie" method I get an error "page must be less than or equal to 1000". if I use the "movie" method then I can iterate where I need to, but I can’t apply a filter to this method and it also produces a lot of deleted movies. What to do then?

3 replies (on page 1 of 1)

Jump to last post

Most of our list methods (search, discover, popular, etc...) are capped to the first 20,000 items for performance reasons. Elasticsearch struggles with this and so it is restricted in code. Newer versions of ES have improved this a lot but we're still on quite an old version.

The advice I have given people in the past is that if they need data on more than 20,000 items like this, it's probably better to bring the data in house and then you can run whatever queries/filters you want locally. Ie. by iterating over all of the available media ids.

and it also produces a lot of deleted movies

I don't understand this comment, can you elaborate? Do you mean that by iterating over the ids that you get a lot of 404's? If so, that's exactly why the daily ID exports exist. Grab a recent file and iterate over these ids instead, while there could be a few 404's (those deleted since the file was created) you're basically going to be 404 free.

Yes, 404. How to open json.gz file?

Not sure what platform you're on, best to just Google how to extract a .gz file. It's a gzipped file.

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