Skip to content

Commit 59474fa

Browse files
authored
Merge pull request #4659 from Dagur/matrix
[plugin.video.sarpur] v5.2.0
2 parents c9f82fa + fbf03c0 commit 59474fa

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

plugin.video.sarpur/addon.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.sarpur"
33
name="Sarpur"
4-
version="5.1"
4+
version="5.2"
55
provider-name="Dagur Páll Ammendrup">
66
<requires>
77
<import addon="xbmc.python" version="3.0.0"/>
@@ -25,12 +25,11 @@
2525
<icon>resources/icon.png</icon>
2626
<fanart>resources/fanart.jpg</fanart>
2727
</assets>
28-
<news>Version 5.1 (2024-03-14)
29-
- Various fixes because of API changes on ruv.is
30-
- Formatted code with black
28+
<news>Version 5.2(2025-04-26)
29+
- Fix search by updating api key (indridieinarsson)
3130

32-
Version 5.0 (2021-02-23)
33-
- Upgraded to Python 3 for Kodi 19 compatibility
34-
- Fixed podcast scraping</news>
31+
Version 5.1 (2024-03-14)
32+
- Various fixes because of API changes on ruv.is
33+
- Formatted code with black</news>
3534
</extension>
3635
</addon>

plugin.video.sarpur/sarpur/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def search(query, type="tv"):
2626
gql = {
2727
"operationName": "getSearch",
2828
"variables": f'{{"type":"{type}","text":"{query}"}}',
29-
"extensions": '{"persistedQuery":{"version":1,"sha256Hash":"99be6d8b3c99b265086df4b6d87e72d005bdbf1cf0d50173610632bc0ecf7ff5"}}',
29+
"extensions": '{"persistedQuery":{"version":1,"sha256Hash":"823f9e99e09dadeca8896ea9f29374429e6fc3c4be2d2c2a93e7ce6dc65eec41"}}',
3030
}
3131
req = requests.get(GRAPHQL_URL, headers={"Content-Type": "text/plain"}, params=gql)
3232
return req.json()["data"]["Search"]

0 commit comments

Comments
 (0)