[Ru] Nudemoon. Fix pages requests (#4569)

[Ru] Nudemoon. Fix pages requests
This commit is contained in:
Pavka 2020-10-10 20:17:34 +03:00 committed by GitHub
parent bdf602e838
commit 4bfa1482ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Nude-Moon' extName = 'Nude-Moon'
pkgNameSuffix = 'ru.nudemoon' pkgNameSuffix = 'ru.nudemoon'
extClass = '.Nudemoon' extClass = '.Nudemoon'
extVersionCode = 5 extVersionCode = 6
libVersion = '1.2' libVersion = '1.2'
containsNsfw = true containsNsfw = true
} }

View File

@ -45,6 +45,7 @@ class Nudemoon : ParsedHttpSource() {
.request() .request()
.newBuilder() .newBuilder()
.addHeader("Cookie", cookiesHeader) .addHeader("Cookie", cookiesHeader)
.addHeader("Referer", baseUrl)
.build() .build()
chain.proceed(newReq) chain.proceed(newReq)