You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.
Take a look at this video: https://www.khanacademy.org/api/v1/videos/D3N7Yd8aHvM
It looks like an English video but both translated-youtube-url and youtube-url redirect to a hindi video.
The only thing to distinguish it is the title.
even source_language is English.
Now I'm worried that api may return some videos in other languages and mark them as English.
The text was updated successfully, but these errors were encountered:
I've noticed that the /topictree&kind=video endpoint sometimes contains faulty data for non-EN LTT. Specifically, I noticed that sometimes translated_youtube_id == youtube_id, even though given video was dubbed/recreated. Not sure whether this is related to this ticket.
It is safer to use the /video/ endpoint for each specific video.
@HosseinAgha I've just realized what the problem is here. For certain technical reasons, the English TT indeed contains certain content in Hindi. This is unfortunate, but you can workaround this issue by filtering out certain courses. For example, look where the video you mentioned is located:
I think this is expected behavior and this ticket can be closed. I should open a separate ticket for the issue in my last comment.
One thing that could be improved is the "source_language" field, although I am not sure where it is coming from.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Take a look at this video: https://www.khanacademy.org/api/v1/videos/D3N7Yd8aHvM
It looks like an English video but both translated-youtube-url and youtube-url redirect to a hindi video.
The only thing to distinguish it is the title.
even
source_language
is English.Now I'm worried that api may return some videos in other languages and mark them as English.
The text was updated successfully, but these errors were encountered: