Fix CineBlogProvider No links found

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-07 07:17:51 +00:00 committed by GitHub
parent b4366f6368
commit 491595829c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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
}
}
}