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
765275b0e5
commit
24b3e28f70
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