Scantrad Remove referer header causing a 403 HTTP error (#5851)
This commit is contained in:
parent
efed4135dc
commit
04253a8159
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Scantrad'
|
||||
pkgNameSuffix = 'fr.scantrad'
|
||||
extClass = '.Scantrad'
|
||||
extVersionCode = 12
|
||||
extVersionCode = 13
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@ class Scantrad : ParsedHttpSource() {
|
|||
protected open val userAgentRandomizer3 = "${Random.nextInt(100,999).absoluteValue}"
|
||||
|
||||
override fun headersBuilder() = Headers.Builder().apply {
|
||||
add("Referer", baseUrl)
|
||||
add(
|
||||
"User-Agent",
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " +
|
||||
|
|
Loading…
Reference in New Issue