Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmir1 committed Jul 26, 2022
1 parent d4550a0 commit dcebc40
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ class AnimePahe : ConfigurableAnimeSource, AnimeHttpSource() {
return if (preferences.getBoolean("preferred_link_type", false)) {
val videoUrl = KwikExtractor(client).getHlsStreamUrl(kwikUrl, referer = baseUrl)
Video(
videoUrl, quality, videoUrl, null,
Headers.headersOf("referer", "https://kwik.cx")
videoUrl, quality, videoUrl,
headers = Headers.headersOf("referer", "https://kwik.cx")
)
} else {
val videoUrl = KwikExtractor(client).getStreamUrlFromKwik(paheUrl)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ class GogoCdnExtractor(private val client: OkHttpClient, private val json: Json)
fileURL,
label,
fileURL,
null,
videoHeaders
headers = videoHeaders
)
)
else videoList.add(Video(fileURL, label, fileURL, headers = videoHeaders))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ class GogoCdnExtractor(private val client: OkHttpClient, private val json: Json)
fileURL,
qualityPrefix + label,
fileURL,
null,
videoHeaders
headers = videoHeaders
)
)
else videoList.add(Video(fileURL, qualityPrefix + label, fileURL, headers = videoHeaders))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ class Hanime : ConfigurableAnimeSource, AnimeHttpSource() {
url = streamObject["url"]!!.jsonPrimitive.content,
quality = streamObject["height"]!!.jsonPrimitive.content + "p",
videoUrl = streamObject["url"]!!.jsonPrimitive.content,
uri = null
)
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ class TenshiMoe : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
src,
size + "p",
src,
null,
Headers.headersOf("cookie", "__ddg2_=$cookie"),
headers = Headers.headersOf("cookie", "__ddg2_=$cookie"),
)
videoList.add(video)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ class AnimeSaturn : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
url,
"Qualità predefinita",
url,
null,
Headers.headersOf("Referer", referer)
headers = Headers.headersOf("Referer", referer)
)
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/it/hentaisaturn/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ext {
extName = 'Hentai Saturn'
pkgNameSuffix = 'it.hentaisaturn'
extClass = '.HentaiSaturn'
extVersionCode = 4
extVersionCode = 5
libVersion = '13'
containsNsfw = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class HentaiSaturn : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
url,
"Qualità predefinita",
url,
Headers.headersOf("Referer", referer)
headers = Headers.headersOf("Referer", referer)
)
)
}
Expand Down

0 comments on commit dcebc40

Please sign in to comment.