Benjamin Loison

Results 531 comments of Benjamin Loison

```python community['backstagePostThreadRenderer']['post']['backstagePostRenderer']['postId'] ``` does not seem useful.

```python YOUTUBE_OPERATIONAL_API_INSTANCE_URL = 'http://localhost/YouTube-operational-API' communityPostIds = [] params = { 'part': 'community', 'handle': '@Amixem', } while True: data = requests.get(YOUTUBE_OPERATIONAL_API_INSTANCE_URL + '/channels', params).json() #print(json.dumps(data, indent = 4)) item = data['items'][0]...

https://www.youtube.com/@Benjamin-xq/community

```python print(json.dumps(getCommunity(1000)['continuationContents']['itemSectionContinuation']['contents'][0], indent = 4)) ``` Output mentioning This channel hasn't posted yet ```json { "messageRenderer": { "text": { "runs": [ { "text": "This channel hasn't posted yet" } ]...

First try using channel handle and linear shift: ```python import requests import blackboxprotobuf import base64 import time import math from datetime import datetime, timedelta import re from enum import Enum,...

https://www.youtube.com/post/UgkxyQX6cJcKVEPItVA3rjwpwMUK6YejXTsI ```bash date -d @1722783810 ``` ``` Sun Aug 4 05:03:30 PM CEST 2024 ``` Second try using channel id and exponential shift ```python import requests import blackboxprotobuf import base64...

Following [my Discord message about me testing on macOS](https://discord.com/channels/933841502155706418/933841503103627316/1270116547456798790). Related to [Benjamin_Loison/MacOS/issues/1](https://codeberg.org/Benjamin_Loison/MacOS/issues/1). See [Benjamin_Loison/blackboxprotobuf/issues/1](https://codeberg.org/Benjamin_Loison/blackboxprotobuf/issues/1). > **TLDR**: use [Pypi: bbpb](https://pypi.org/project/bbpb/). Investigation details: I updated macOS thanks to VNC: ![image](https://github.com/user-attachments/assets/735244af-59ad-4edb-8549-5f20aed39415) `requirements.txt`: ```...

Note that #257 pagination seems to provide precise date of first or last community post of each page. Maybe by finding the precise date of each first page community posts,...

Most simplified: ```python import requests import json import blackboxprotobuf import base64 url = 'https://www.youtube.com/youtubei/v1/next' def getBase64Protobuf(message, typedef): data = blackboxprotobuf.encode_message(message, typedef) return base64.b64encode(data).decode('ascii') message = { '2': { '2': 'm8_8tMzmpTg'...