lemolatoon / youtube_chat_rs

provides Rust interface of fetching youtube live chat comments
https://crates.io/crates/youtube_chat
MIT License
8 stars 6 forks source link

Fix the panic caused by the request error #6

Closed ckaznable closed 1 year ago

ckaznable commented 1 year ago

First of all, thank you for this library!

I found out that youtube may response error request if I use it for a long time.

So I suggest to leave this error to the user because unwrap can cause a panic.

Thanks again!

lemolatoon commented 1 year ago

Thanks for using this crate and contributing again! It looks good to me.

lemolatoon commented 1 year ago

@ckaznable I released v0.2.1 with this patch. Check it out if you like. Thank you!