Fix CineBlogProvider No links found (#63)

referer is written in lower case, the first letter need to be uppercase otherwise the site will see this as another headers
This commit is contained in:
contusionglory 2022-12-08 01:08:23 +00:00 committed by GitHub
parent b4366f6368
commit 42269f0da0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,9 +160,9 @@ class CineBlogProvider : MainAPI() {
))
val url2= Regex("""src='((.|\\n)*?)'""").find(test.text)?.groups?.get(1)?.value.toString()
val trueUrl = app.get(url2, headers = mapOf("referer" to mainUrl)).url
val trueUrl = app.get(url2, headers = mapOf("Referer" to mainUrl)).url
loadExtractor(trueUrl, data, subtitleCallback, callback)
return true
}
}
}