The Movie Database-ondersteuning

Hi Travis!

I've noticed recently (in the past week or so) that the poster_path in some of the requests of the movie search endpoint has the full path e.g. https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Any idea why? I'm not the only person having this issue.

1 antwoord (op blad 1 van 1)

Jump to last post

Hi @tidusjar,

The app that runs the search service has no idea of the full image URL (it's not even added to that codebase) so that's not what's happening... how are you building your URLs? All of my tests show the standard file path being returned:

https://api.themoviedb.org/3/search/movie?api_key=###&query=lord+of+the+rings
"poster_path":"\/zn5dEU1ygVeCEtFgttvujW3dCUj.jpg"
"backdrop_path":"\/pIUvQ9Ed35wlWhY2oU6OmwEsmzG.jpg"

Etc, etc...

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

That image URL is definitely wrong and will of course error. I'd take a look at how you're building the URL, it looks like its doubling up somehow.

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan