mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
fix
This commit is contained in:
parent
918f5bd5d2
commit
23c51e191f
2 changed files with 5 additions and 0 deletions
|
@ -1852,6 +1852,7 @@ object SoraExtractor : SoraStream() {
|
|||
doc
|
||||
}
|
||||
val m3u8 = Regex("file:\\s*\"(.*?m3u8.*?)\"").find(script ?: return@apmap)?.groupValues?.getOrNull(1)
|
||||
if(m3u8?.haveDub("$host/") == false) return@apmap
|
||||
callback.invoke(
|
||||
ExtractorLink(
|
||||
"Moflix",
|
||||
|
|
|
@ -800,6 +800,10 @@ suspend fun getCrunchyrollIdFromMalSync(aniId: String?): String? {
|
|||
?: regex.find("$crunchyroll")?.groupValues?.getOrNull(1)
|
||||
}
|
||||
|
||||
suspend fun String.haveDub(referer: String) : Boolean {
|
||||
return app.get(this,referer=referer).text.contains("TYPE=AUDIO")
|
||||
}
|
||||
|
||||
suspend fun convertTmdbToAnimeId(
|
||||
title: String?,
|
||||
date: String?,
|
||||
|
|
Loading…
Reference in a new issue