Skip to content

Commit 7df08ac

Browse files
committed
repair seasonvar plugin
1 parent 5d6da5d commit 7df08ac

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

addons/plugin.video.dandy.seasonvar.ru/addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.dandy.seasonvar.ru" name="seasonvar.ru"
3-
version="2.0.9" provider-name="dandy">
3+
version="2.0.10" provider-name="dandy">
44
<requires>
55
<import addon="xbmc.python" version="3.0.0"/>
66
<import addon="script.module.xbmc.helpers" version="3.0.0"/>

addons/plugin.video.dandy.seasonvar.ru/default.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ def getSerialImage(self, url):
277277
else:
278278
# response = common.fetchPage({"link": url})
279279
# image = response["content"].split('<meta property="og:image" content="')[-1].split('">')[0]
280-
image = "http://cdn." + self.url.split("://")[1] + "/oblojka/%s.jpg" % (
281-
url.split("serial-")[-1].split("-")[0])
280+
281+
image = "http://cdn.bigsv.ru/oblojka/%s.jpg" % (url.split("serial-")[-1].split("-")[0])
282+
282283
return image if image else self.icon
283284

284285
def getItemsByDate(self, page):

0 commit comments

Comments
 (0)