mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
small fix
This commit is contained in:
parent
891257d32d
commit
e1ad8d7bf6
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
// use an integer for version numbers
|
// use an integer for version numbers
|
||||||
version = 2
|
version = 3
|
||||||
|
|
||||||
|
|
||||||
cloudstream {
|
cloudstream {
|
||||||
|
|
|
@ -246,7 +246,7 @@ class Kickassanime : MainAPI() {
|
||||||
val data = app.get(fixUrl, referer = url).parsedSafe<MaveSources>()
|
val data = app.get(fixUrl, referer = url).parsedSafe<MaveSources>()
|
||||||
|
|
||||||
M3u8Helper.generateM3u8(
|
M3u8Helper.generateM3u8(
|
||||||
name,
|
if(data?.subtitles.isNullOrEmpty()) "$name [Hardsub]" else "$name [Softsub]",
|
||||||
fixUrl(data?.hls ?: return, base),
|
fixUrl(data?.hls ?: return, base),
|
||||||
url
|
url
|
||||||
).forEach(callback)
|
).forEach(callback)
|
||||||
|
|
Loading…
Reference in a new issue