mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 04:50:32 +00:00
did some error handeling on anime
This commit is contained in:
@@ -164,6 +164,8 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<(
|
||||
.unwrap()
|
||||
.to_string();
|
||||
let ep_range = anime_ep_range(&app.title);
|
||||
app.title = app.title.replace("tv-", "");
|
||||
app.title = app.title.replace("dub", "");
|
||||
app.anime_id = get_anime_id(&app.title);
|
||||
app.messages.items.clear();
|
||||
app.progress =
|
||||
|
||||
Reference in New Issue
Block a user