The Movie Database 支持

I know it happens on a daily basis, but I need to know when it is exactly as I need to fetch popular movie IDs as soon as it gets updated. Is it midnight of London time?

Thank you!

6 回复(第 1 页,共 1 页)

Jump to last post

Hi T.I.P,

There's 2 points of reference for this data.

  1. Accessing the media items directly (ie. /movie/550)
  2. Accessing a media item from a list (ie. search, now playing etc...)

The nightly popularity job for movies is usually finished by around ~6:00 AM UTC.

For #1, remember the media end points are currently cached for 6 hours so depending on when the item was stored in the cache is when it will be purged. These times will be different for every item.

For #2, these methods are not cached and will reflect the updated popularity values as soon as they've been saved. All values are saved by 6:00 AM UTC.

I usually access the media items directly, so I will reload my database list every day around -6 AM UTC. If I count correctly, it makes midday in Central European time. Thanks!

Yup, no problem.

Sorry for re-opening it but I am working on it and having some issues.

Is there a possibility to access updated list at the certain time (6:00 AM) from /discover/? Or is the data continuously cached as well?

I realized I can't access the data which is cached with different update times as I need to copy IDs of popular movies to my database. And, obviously, I don't want to do this every time the page is loaded.

Thanks!

Hi T.I.P,

/discover falls into group #2, so they are not cached. There's no ID based query for discover, but if the results can be found in a way discover supports, you bet, got for it.

Thanks! Closing now :-)

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区