use baseUrl in Referer header
This commit is contained in:
parent
27596fe0e4
commit
063f3166d2
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class NewGrounds : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
|
||||||
headers.newBuilder()
|
headers.newBuilder()
|
||||||
.add("Accept", "application/json, text/javascript, */*; q=0.01")
|
.add("Accept", "application/json, text/javascript, */*; q=0.01")
|
||||||
.add("X-Requested-With", "XMLHttpRequest")
|
.add("X-Requested-With", "XMLHttpRequest")
|
||||||
.add("Referer", "https://www.newgrounds.com")
|
.add("Referer", baseUrl)
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue