Benjamin Loison
Benjamin Loison
```python import requests import json import blackboxprotobuf import base64 import time from datetime import datetime url = 'https://www.youtube.com/youtubei/v1/live_chat/get_live_chat' headers = { 'Content-Type': 'application/json', } def getBase64Protobuf(message, typedef): data = blackboxprotobuf.encode_message(message,...
What about other livestreams? Then will have to consider extracting the given reactions. ```python print(json.dumps(data['frameworkUpdates']['entityBatchUpdate']['mutations'][0]['payload']['emojiFountainDataEntity']['reactionBuckets'], indent = 4)) ``` ```json [ { "totalReactions": 0, "duration": { "seconds": "1" }, "intensityScore":...
To test on another channel I have to wait 24 hours, the email I have in mind is: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAb2t1oINXCE1UIfQnLLKBHkKSRz8Zjs6b7Vq9HE3j/BYw Xk84uwcYIeqUDZGy4HPwJ5P3Uffk+gDoVPXR1rKniIl6huUd7b6yofeVvwewGZMj 0lIBhyFmJeN0BwVs8Eud52pclueEine7IjmYMzNRHUONnyWAylGDwSjHRXiGVFrr SDfcQ4MpVn7xZNycRXaSctYGOE9/0QJlhy0a+hKGx5geoH6V =JTsI -----END PGP MESSAGE-----...
I tested with another channel and it works fine too. As a result [I answered the Stack Overflow question](https://stackoverflow.com/a/78481170).
Firsly knowing how to do without removing `-H 'Accept-Encoding: gzip, deflate, br'` from a cURL request and why `gunzip` doesn't work sometimes (when?). If only provide `gzip` as `Accept-Encoding`, it...
Could also investigate HTTP `Range` header.
Could also propose a `maxResults` and [`fields`](https://developers.google.com/youtube/v3/getting-started#fields) parameter, as requested on Discord [`maxResults`](https://discord.com/channels/933841502155706418/933841503103627316/1084712595031859222) and [`fields`](https://discord.com/channels/@me/1124339262498799659/1125906115557867660). [Here is another Discord user expecting `maxResults` to work](https://discord.com/channels/933841502155706418/933841503103627316/1254214927283916863).
Note that concerning `channels?part=community` it returns sometimes empty pages when using `nextPageToken`, as the YouTube UI, however according to [amatis on Matrix](https://matrix.to/#/!xUzcWVLNMgGmLGBdRL:matrix.org/$l15NxPseBBZ1sN2Ruwc3Ou2CL6nUfZjbyUJnxch-Nk0?via=matrix.org) it may happen with no more data after...
Increase priority following [this Discord message](https://discord.com/channels/933841502155706418/933841503103627316/1173834015090938027). *Depending on the endpoint you are using there are maybe alternative webpages less bandwidth consuming to retrieve.* > By the way `membership`: `true` I...
To avoid making a first request to have a continuation token, being able to reverse-engineer this continuation token would improve performances, cf #190. This would possibly make a single case...