]> git.gir.st - subscriptionfeed.git/commit
secondary channel format
authorgirst <tobi@isticktoit.net>
Sun, 9 Aug 2020 10:17:38 +0000 (12:17 +0200)
committergirst <tobi@isticktoit.net>
Sun, 9 Aug 2020 10:17:38 +0000 (12:17 +0200)
commit4e3b56b967570b9498651cf758a5ca3c56640689
tree59b70e3ee9025818edb6f84a3456a0bbc52b8228
parentc8cf3316f9df8e5a68b789489665456536b95263
secondary channel format

reversed by omarroth on #invidious. his message:
The channel you sent me uses a different format. YouTube uses:
```json
{
  "80226972:0:embedded": {
    "2:0:string": "UC6Om9kAkl32dWlDSNlDS9Iw",
    "3:1:base64": {
      "2:0:string": "videos",
      "3:1:varint": 3,
      "4:2:varint": 0,
      "6:3:varint": 1,
      "7:4:varint": 1,
      "61:5:base64": {
        "1:0:embedded": {
          "2:1:embedded": {
            "1:0:base64": {
              "1:0:varint": 120
            }
          }
        }
      }
    }
  }
}
```

where `"1:0:varint": 120` is the offset into the channel.
app/dangerous/protobuf.py
Imprint / Impressum