The Movie Database サポート

Hi! I'm trying to pull all links to trailers in your API and noticed some responses that I cant explain: 1) TMDBID=2 has video listed as false from the the details endpoint, and NULL returns when I hit the videos endpoint. However, on your site, that movie has a trailer. Am I looking at it wrong, or is some data withheld from the API, or is it a bug? 2) TMDBID-3 has video listed as false from the details endpoint, but has a video when I hit the videos endpoint. same questions as above.

Please let me know at your convenience, and thank you so much!

5 replies (on page 1 of 1)

Jump to last post

@monkeypants said:

Hi! I'm trying to pull all links to trailers in your API and noticed some responses that I cant explain:
1) TMDBID=2 has video listed as false from the the details endpoint, and NULL returns when I hit the videos endpoint.
However, on your site, that movie has a trailer.
Am I looking at it wrong, or is some data withheld from the API, or is it a bug?
2) TMDBID-3 has video listed as false from the details endpoint,
but has a video when I hit the videos endpoint. same questions as above.
Please let me know at your convenience, and thank you so much!

I managed to find this.
ID 2, Ariel (1988) has:

  • 1 trailer de-DE

ID 3, Shadows in Paradise (1986) has:

  • 1 Clip es-ES
  • 1 Trailer en-US - Video unavailable
  • 1 Clip en-US

What parameter is your API Request using in &language= ?

Hi Ticao! I'm pulling it right from the API Reference page. I noticed that "en_US" is set by default so tried without that and still got nothing. Are you seeing something different? How are you getting a trailer URL for ID=5 from the API reference page? And I had a brain fart with the ID for the second example,, it was TMDBID-5. I guess that second question upon further reflection was what does the "video" value signify in the details endpoint. I originally thought it indicated if it had a video, but i guess it means something different?

I guess that second question upon further reflection was what does the "video" value signify in the details endpoint. I originally thought it indicated if it had a video, but i guess it means something different?

Correct, it does not mean that there are videos. The definition of what a video is can be found here.

Thanks Travis, that makes alot of sense... and ticao2s comment is on point as well. I wasnt using a language parameter so it defaulted to US. however there was a german langauge video that shows up when I specify "de-DE" so the results make sense to me... I do have one other question though regarding the videos endpoint:

For example: movie id 17 only returns this video: https://www.youtube.com/watch?v=IdCLtwSSIh (which is no longer available) when i check the tmdb site though, I can confirm that the link to watch the trailer is also broken however, there is one video in the media section with this link: https://youtu.be/2PQmZGf36DE. but this link is not exposed in the API.

Am I looking in the wrong place to expect to see: 2PQmZGf36DE Also, is there an easy way I can feed back my findings back to the API (videos no longer available, etc...) so I'm helping to keep things tidy?

@monkeypants said:

Am I looking in the wrong place to expect to see: 2PQmZGf36DE

It is on the Czech language : cs-CZ

Also, is there an easy way I can feed back my findings back to the API (videos no longer available, etc...) so I'm helping to keep things tidy?

You need to file a content report (Overview -> Report) on the corresponding movie page.

映画やテレビ番組が見つかりませんか?ログインして作成してください。

全般

s 検索バーに移動する
p プロファイルメニューを開く
esc 開いているウィンドウを閉じる
? キーボードショートカットウィンドウを開く

メディアのページ

b 戻る(または該当する場合は親に)
e 編集ページに行く

テレビ番組のシーズンのページ

(右矢印)次のシーズンに行く
(左矢印)前のシーズンに戻る

テレビ番組のエピソードのページ

(右矢印)次のエピソードに進む
(左矢印)前のエピソードに戻る

全ての画像のページ

a 画像追加ウィンドウを開く

全ての編集ページ

t 翻訳選択を開く
ctrl+ s フォームを送信する

ディスカッションのページ

n 新しいディスカッションを作成する
w 監視ステータスを切り替える
p 公開/非公開を切り替える
c 閉じる/開くを切り替える
a アクティビティを開く
r ディスカッションに返信
l 最後の返事に行く
ctrl+ enter メッセージを送信する
(右矢印)次のページ
(左矢印)前のページ

設定

このアイテムを評価したり、リストに追加したりしたいですか?

ログイン

メンバーではありませんか?

登録してコミュニティに参加