new entries
This commit is contained in:
@@ -3,11 +3,11 @@ use std::collections::HashMap;
|
|||||||
#[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
|
||||||
let resp = reqwest::get("https://raw.githubusercontent.com/bvanroll/home/static/yters.json")
|
//https://raw.githubusercontent.com/bvanroll/home/refs/heads/master/static/yters.json
|
||||||
|
let resp = reqwest::get("https://raw.githubusercontent.com/bvanroll/home/refs/heads/master/static/yters.json")
|
||||||
.await?
|
.await?
|
||||||
.json::<HashMap<String, String>>()
|
.json::<HashMap<String, String>>()
|
||||||
.await?;
|
.await?;
|
||||||
println!("{resp:#?}");
|
println!("{resp:#?}");
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1 +1,4 @@
|
|||||||
{}
|
{
|
||||||
|
"squibquib":"UC-9-sjOyxoDCdQlVzObzGsw",
|
||||||
|
"sinixdesign":"UCUQTqWAaSzhAKRanOpes1nA"
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user