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
73b775d29f
commit
3cb4e9ecd6
1 changed files with 3 additions and 2 deletions
|
@ -153,7 +153,8 @@ class GogoanimeProvider : MainAPI() {
|
||||||
isM3u8 = source.type == "hls" || source.label?.contains(
|
isM3u8 = source.type == "hls" || source.label?.contains(
|
||||||
"auto",
|
"auto",
|
||||||
ignoreCase = true
|
ignoreCase = true
|
||||||
) == true
|
) == true,
|
||||||
|
mapOf("Origin" to "https://gogohd.net")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -202,7 +203,7 @@ class GogoanimeProvider : MainAPI() {
|
||||||
|
|
||||||
override suspend fun getMainPage(
|
override suspend fun getMainPage(
|
||||||
page: Int,
|
page: Int,
|
||||||
request : MainPageRequest
|
request: MainPageRequest
|
||||||
): HomePageResponse {
|
): HomePageResponse {
|
||||||
val params = mapOf("page" to page.toString(), "type" to request.data)
|
val params = mapOf("page" to page.toString(), "type" to request.data)
|
||||||
val html = app.get(
|
val html = app.get(
|
||||||
|
|
Loading…
Reference in a new issue