Closed jannostudio closed 2 months ago
Just fyi, this problem has been occuring less and less over the last couple of days and i currently can rarely reproduce it. I assume its an issue on youtubes end.
Hi @jannostudio, thanks for the update! In fact, I have received multiple reports of YouTubes translation API being a bit flaky. It most commonly happens when you're trying to translate from en to en (not that this would make sense), where it just returns an empty list. I don't think that there's anything we can do about this unfortunately, as this is out of control of this module. Therefore, I will close this issue.
DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.
To Reproduce
Translation often returns empty list. This is the transcript metadata for the video id. It doesnt seem to be flaky and seems to always contain en as a possible translation language.
What code / cli command are you executing?
I am running
Which Python version are you using?
Tested on Python [3.10.13 and 3.10.11 ]
Which version of youtube-transcript-api are you using?
youtube-transcript-api 0.6.2
Expected behavior
Describe what you expected to happen.
I expected to receive the english transcript
Actual behaviour
I either receive the translation as requested, or i receive an empty list