mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
Update StremioC.kt
This commit is contained in:
parent
11e96c840a
commit
0df47135ee
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class StremioC : MainAPI() {
|
|||
mainUrl = mainUrl.fixSourceUrl()
|
||||
val res = tryParseJson<Manifest>(app.get("${mainUrl}/manifest.json").text) ?: return null
|
||||
val lists = mutableListOf<HomePageList>()
|
||||
res.catalogs.forEach { catalog ->
|
||||
res.catalogs.apmap { catalog ->
|
||||
catalog.toHomePageList(this)?.let {
|
||||
if (it.list.isNotEmpty()) lists.add(it)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue