From 4bfa1482ef252d804f5a90e8ab9ed0a6519ea781 Mon Sep 17 00:00:00 2001
From: Pavka
Date: Sat, 10 Oct 2020 20:17:34 +0300
Subject: [PATCH] [Ru] Nudemoon. Fix pages requests (#4569)
[Ru] Nudemoon. Fix pages requests
---
src/ru/nudemoon/build.gradle | 2 +-
.../src/eu/kanade/tachiyomi/extension/ru/nudemoon/Nudemoon.kt | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ru/nudemoon/build.gradle b/src/ru/nudemoon/build.gradle
index 4ea8f7172..745d9e539 100644
--- a/src/ru/nudemoon/build.gradle
+++ b/src/ru/nudemoon/build.gradle
@@ -5,7 +5,7 @@ ext {
extName = 'Nude-Moon'
pkgNameSuffix = 'ru.nudemoon'
extClass = '.Nudemoon'
- extVersionCode = 5
+ extVersionCode = 6
libVersion = '1.2'
containsNsfw = true
}
diff --git a/src/ru/nudemoon/src/eu/kanade/tachiyomi/extension/ru/nudemoon/Nudemoon.kt b/src/ru/nudemoon/src/eu/kanade/tachiyomi/extension/ru/nudemoon/Nudemoon.kt
index 3e74e85ef..8913f1b3d 100644
--- a/src/ru/nudemoon/src/eu/kanade/tachiyomi/extension/ru/nudemoon/Nudemoon.kt
+++ b/src/ru/nudemoon/src/eu/kanade/tachiyomi/extension/ru/nudemoon/Nudemoon.kt
@@ -45,6 +45,7 @@ class Nudemoon : ParsedHttpSource() {
.request()
.newBuilder()
.addHeader("Cookie", cookiesHeader)
+ .addHeader("Referer", baseUrl)
.build()
chain.proceed(newReq)