From ae7031d9f27c184944383b9ee564c4e0deb82695 Mon Sep 17 00:00:00 2001 From: hexated Date: Sat, 1 Oct 2022 01:21:33 +0700 Subject: [PATCH] small fix --- Animixplay/src/main/kotlin/com/hexated/GogoanimeProvider.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Animixplay/src/main/kotlin/com/hexated/GogoanimeProvider.kt b/Animixplay/src/main/kotlin/com/hexated/GogoanimeProvider.kt index 6d2b323f..edf66dd0 100644 --- a/Animixplay/src/main/kotlin/com/hexated/GogoanimeProvider.kt +++ b/Animixplay/src/main/kotlin/com/hexated/GogoanimeProvider.kt @@ -153,7 +153,8 @@ class GogoanimeProvider : MainAPI() { isM3u8 = source.type == "hls" || source.label?.contains( "auto", ignoreCase = true - ) == true + ) == true, + mapOf("Origin" to "https://gogohd.net") ) ) } @@ -202,7 +203,7 @@ class GogoanimeProvider : MainAPI() { override suspend fun getMainPage( page: Int, - request : MainPageRequest + request: MainPageRequest ): HomePageResponse { val params = mapOf("page" to page.toString(), "type" to request.data) val html = app.get(