mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
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:
parent
b4366f6368
commit
42269f0da0
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ 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
|
||||
|
|
Loading…
Reference in a new issue