The Movie Database atbalsts

Hi all, I'm currently building out an application that iterates over and sequentially pulls 1000 movies and tv shows per day from the following end points (api_key is my own personal key and movie_page_number/show_page_number are read in/updated after each run:)

However, it seems the number of pages for both movies and tv shows is capped at 500. Is this true, and if so, are there any other movie/show databases that don't face this issue. If it isn't the case and we can extract more data, how can we do so? The goal of this project is to continually pull in new titles with the associated genre and ratings for recommendation model purposes.

3 replies (on page 1 of 1)

Jump to last post

If you're trying to bring that much data in house your best option is to restrict your searches. I would think dates are you best friend here, so something like:

https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2010-01-01&primary_release_date.lte=2010-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2011-01-01&primary_release_date.lte=2011-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2012-01-01&primary_release_date.lte=2012-12-31
https://api.themoviedb.org/3/discover/movie?api_key=###&page=N&primary_release_date.gte=2013-01-01&primary_release_date.lte=2013-12-31

As an example/

Thanks for the quick response - do you happen to know what's the complete lookback window movies/tv shows? Also will rate limits apply when extracting data for eg a year period at once?

Each response will contain the total results. If you are curious about the DB as a whole, you can look at the daily ID exports.

Vai nevarat atrast filmu vai TV pārraidi? Piesakieties, lai to izveidotu.

Vispārējs

s fokusējiet meklēšanas joslu
p atveriet profila izvēlni
esc aizveriet atvērtu logu
? atveriet īsinājumtaustiņu logu

Mediju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e dodieties uz rediģēšanas lapu

TV sezonas lappusēs

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV epizodes lappusēs

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atveriet attēla pievienošanas logu

Visās rediģēšanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt formu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās statusu
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l dodieties uz pēdējo atbildi
ctrl+ enter iesniedziet savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vai vēlaties novērtēt vai uzskaitīt šo vienumu?

Pieslēgties