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

View File

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