small fix

This commit is contained in:
hexated 2023-01-22 04:53:17 +07:00
parent 891257d32d
commit e1ad8d7bf6
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 2
version = 3
cloudstream {

View File

@ -246,7 +246,7 @@ class Kickassanime : MainAPI() {
val data = app.get(fixUrl, referer = url).parsedSafe<MaveSources>()
M3u8Helper.generateM3u8(
name,
if(data?.subtitles.isNullOrEmpty()) "$name [Hardsub]" else "$name [Softsub]",
fixUrl(data?.hls ?: return, base),
url
).forEach(callback)