mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 04:50:32 +00:00
made kami be able to handel uncensored anime
This commit is contained in:
@@ -167,6 +167,7 @@ fn run_app<B: Backend>(terminal: &mut Terminal<B>, mut app: App) -> io::Result<(
|
||||
let ep_range = anime_ep_range(&app.title);
|
||||
let title = app.title.replace("tv-", "");
|
||||
let title = title.replace("dub", "");
|
||||
let title = title.replace("-uncensored", "");
|
||||
//if title contains "movie" then remove movie if it contains "movie-*" then remove movie-*
|
||||
let title = if title.contains("movie-") {
|
||||
//find the index of "movie"
|
||||
|
||||
Reference in New Issue
Block a user