mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 05:34:15 +01:00
Compare commits
2 Commits
b5fc87c46c
...
2d93032b67
Author | SHA1 | Date | |
---|---|---|---|
|
2d93032b67 | ||
|
515ab99c7a |
@ -198,7 +198,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
res = self.http.request(
|
res = self.http.request(
|
||||||
"post",
|
"post",
|
||||||
"https://client-gateway.tv4.a2d.tv/graphql",
|
"https://client-gateway.tv4.a2d.tv/graphql",
|
||||||
headers={"Client-Name": "tv4-web", "Client-Version": "4.0.0", "Content-Type": "application/json", "Authorization": f"Bearer {token}"},
|
headers={"Client-Name": "tv4-web", "Client-Version": "5.2.0", "Content-Type": "application/json", "Authorization": f"Bearer {token}"},
|
||||||
json=data,
|
json=data,
|
||||||
)
|
)
|
||||||
janson = res.json()
|
janson = res.json()
|
||||||
@ -242,7 +242,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
res = self.http.request(
|
res = self.http.request(
|
||||||
"post",
|
"post",
|
||||||
"https://client-gateway.tv4.a2d.tv/graphql",
|
"https://client-gateway.tv4.a2d.tv/graphql",
|
||||||
headers={"Client-Name": "tv4-web", "Client-Version": "4.0.0", "Content-Type": "application/json", "Authorization": f"Bearer {token}"},
|
headers={"Client-Name": "tv4-web", "Client-Version": "5.2.0", "Content-Type": "application/json", "Authorization": f"Bearer {token}"},
|
||||||
json=data,
|
json=data,
|
||||||
)
|
)
|
||||||
return res.json()
|
return res.json()
|
||||||
@ -261,7 +261,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
|||||||
res = self.http.request(
|
res = self.http.request(
|
||||||
"post",
|
"post",
|
||||||
"https://client-gateway.tv4.a2d.tv/graphql",
|
"https://client-gateway.tv4.a2d.tv/graphql",
|
||||||
headers={"Client-Name": "tv4-web", "Client-Version": "4.0.0", "Content-Type": "application/json"},
|
headers={"Client-Name": "tv4-web", "Client-Version": "5.2.0", "Content-Type": "application/json"},
|
||||||
json=data,
|
json=data,
|
||||||
)
|
)
|
||||||
janson = res.json()
|
janson = res.json()
|
||||||
|
Loading…
Reference in New Issue
Block a user