Closed RedisOptimal closed 1 month ago
Same issue - on latest release :/
Same issue - on latest release :/
It's not a problem with the library, do as he did above
The captions are returning empty even though there are captions on that video?
Previously auto-generated captions were working now returning empty dictionary. Using authentication with oauth
yt.captions returns {} for any video with auto-generated captions... The example above has actual captions, but is returning empty {}
Should mention this happens irregularly. I'm using a proxy service so perhaps that's why - but unsure.
The captions are returning empty even though there are captions on that video?
Previously auto-generated captions were working now returning empty dictionary. Using authentication with oauth
- video and audio downloading works as expected with authentication
yt.captions returns {} for any video with auto-generated captions... The example above has actual captions, but is returning empty {}
Should mention this happens irregularly. I'm using a proxy service so perhaps that's why - but unsure.
I don't think it's proxy service problem. I thought I find the root cause of this problem. Google's SDE remove the captions information in interface /v1/player. I debug the code, and step in around ( https://github.com/JuanBindez/pytubefix/blob/c8b75ac0a16bea702a9eef371778257e8364c292/pytubefix/innertube.py#L648 ) check the play function return data. Even though google obtain the offical data api: GET https://www.googleapis.com/youtube/v3/captions?part=snippet&videoId= GET https://www.googleapis.com/youtube/v3/captions/CAPTION_ID?tfmt=srt&key= The second download captions api always give me a 404.
Describe the bug
https://www.youtube.com/watch?v=pttUWZQWJi8