parent
78d31de70a
commit
49fb99b4f1
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Scantrad'
|
extName = 'Scantrad'
|
||||||
pkgNameSuffix = 'fr.scantrad'
|
pkgNameSuffix = 'fr.scantrad'
|
||||||
extClass = '.Scantrad'
|
extClass = '.Scantrad'
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class Scantrad : ParsedHttpSource() {
|
||||||
protected open val userAgentRandomizer = " ${Random.nextInt().absoluteValue}"
|
protected open val userAgentRandomizer = " ${Random.nextInt().absoluteValue}"
|
||||||
|
|
||||||
override fun headersBuilder() = Headers.Builder().apply {
|
override fun headersBuilder() = Headers.Builder().apply {
|
||||||
add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36$userAgentRandomizer")
|
add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36$userAgentRandomizer (KHTML, like Gecko) Chrome/81.0.4044.122$userAgentRandomizer Safari/537.36$userAgentRandomizer")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Popular
|
// Popular
|
||||||
|
|
Loading…
Reference in New Issue