Use Protobuf in my Stack Overflow answer to retrieve video captions #262
Labels
enhancement
New feature or request
medium priority
A high-priority issue noticeable by the user but he can still work around it.
quick
A task that should take less than two hours to complete.
The concerned Stack Overflow answer 70013529.
As requested on Discord.
Concerning the first part, maybe I simplified by trying to remove characters one by one and now it is not correctly encoded (such that I am not able to formalize the associated encoding) but correctly decoded on Google servers.
Being aware of what parameters are actually necessary would be nice to minimize requests. Related to #256.
To verify correctness can use:
jq '.actions[0].updateEngagementPanelAction.content.transcriptRenderer.content.transcriptSearchPanelRenderer.body.transcriptSegmentListRenderer.initialSegments[].transcriptSegmentRenderer.snippet.runs[0].text'
Related to Benjamin_Loison/protobuf_google/issues/1.
As blackboxprotobuf does not have this issue, let us switch to Python.
The text was updated successfully, but these errors were encountered: