Objet
Objet MediaText
Words read off a post's pictures: each image of an image post, or the text shown on screen in a video, with times. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Champ | Type | De view | Description |
|---|---|---|---|
post_id | string | compact | L'ID de la publication ou de la vidéo demandée. |
source | string | compact | images: an image post, one block per image with text. frames: a video, one block per stretch of frames showing the same words. |
title | string | null | compact | The post's own title, as the platform gives it. |
description | string | null | standard | The post's own caption, as the platform gives it. · peut être tronqué en compact |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | Tous les blocs joints par des retours à la ligne. · peut être tronqué en compact |
ext | objet | full | Données propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full |
TextBlock
| Champ | Type | Description |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | L'image lue ; null pour les images de vidéo. |
start | number | null | Seconds into the video where the words appear; null for images. |
end | number | null | Seconds into the video where the words were last seen; null for images. |
text | string | Les mots lus, avec les retours à la ligne. |
Endpoints qui renvoient un objet MediaText
- Texte de note image RedNotexiaohongshu.notes.text.getMediaText$0.048/call
- Texte à l'écran de vidéo RedNotexiaohongshu.videos.screen_text.getMediaText$0.052/call
- Texte des publications image Douyinbientôt disponibledouyin.notes.text.getMediaText$0.007/call
- Texte à l'écran d'une vidéo Douyindouyin.videos.screen_text.getMediaText$0.011/call