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:
parent
b4366f6368
commit
491595829c
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue