You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the search function exposed by the library but I keep getting the following error:
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError(ParseError { message: "missing field `runs`", to_parse_type: "SearchResult" })', src/commands/play.rs:145:14
I tried pulling the repo and running the search tests but they seem to fail with the same error. Is there something I'm doing wrong?
I'm doing the following:
let client_config = &default_client_config();
let search_res = search("ltt".into(), "".into(), client_config)
.await
.unwrap();
The text was updated successfully, but these errors were encountered:
Yeas thats because the parsing API is absolute dog shit the way I built it, it fails as soon as YT changes something in their API.
The complete lib needs to be rewritten and I sadly dont have the time for that right now. If you are interested in helping, I can share what I layed out for the rewrite which would allow for much greater parsing then this current mess.
I'm trying to use the search function exposed by the library but I keep getting the following error:
I tried pulling the repo and running the search tests but they seem to fail with the same error. Is there something I'm doing wrong?
I'm doing the following:
The text was updated successfully, but these errors were encountered: