new format

This commit is contained in:
2025-07-08 10:11:11 +02:00
parent a7ffbba3d0
commit 4417e2b20c
2 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,12 @@
use std::collections::HashMap;
struct Channel {
id: String,
name: String,
type: String
}
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
//getting the list of channels with id's first

View File

@@ -1,5 +1,5 @@
{
"squibquib":"UC-9-sjOyxoDCdQlVzObzGsw",
"sinixdesign":"UCUQTqWAaSzhAKRanOpes1nA",
"misshapenchair": ""
"squibquib":{ "id": "UC-9-sjOyxoDCdQlVzObzGsw", "type": "letsplay"},
"sinixdesign":{ "id":"UCUQTqWAaSzhAKRanOpes1nA" , "type": "art"},
"misshapenchair":{ "id": "", "type": "essay"}
}