mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
added randomUserAgent
This commit is contained in:
parent
da48c5eee4
commit
5a21406afd
1 changed files with 2 additions and 1 deletions
|
@ -276,7 +276,8 @@ class SoraStream : TmdbProvider() {
|
||||||
|
|
||||||
val json = app.get(
|
val json = app.get(
|
||||||
query,
|
query,
|
||||||
referer = referer
|
referer = referer,
|
||||||
|
headers = mapOf("User-Agent" to getRandomUserAgent())
|
||||||
).parsedSafe<LoadLinks>()
|
).parsedSafe<LoadLinks>()
|
||||||
|
|
||||||
argamap(
|
argamap(
|
||||||
|
|
Loading…
Reference in a new issue