Fix vari (#42)

* Improvements channel Guardaserie.click, Fastsubita and support

* Refactor channels series with support & fix

* Refactor channels series / anime with support & fix
New server animeworld.biz

* Fix videolibrary update
This commit is contained in:
4l3x87
2019-06-01 10:00:22 +02:00
committed by mac12m99
parent 352312c7c5
commit e85ef540ff
10 changed files with 308 additions and 484 deletions
+6 -8
View File
@@ -1,18 +1,16 @@
# -*- coding: utf-8 -*-
# ------------------------------------------------------------
# Canale per guardaserie.click
# Thanks to Icarus crew & Alfa addon
# Canale per Guardaserie.click
# Thanks to Icarus crew & Alfa addon & 4l3x87
# ------------------------------------------------------------
import re
import channelselector
from core import httptools, scrapertools, servertools, support
from core import httptools, scrapertools, support
from core import tmdb
from core.item import Item
from core.support import log
from platformcode import logger, config
from specials import autoplay
__channel__ = 'guardaserieclick'
host = config.get_setting("channel_host", __channel__)
@@ -163,7 +161,7 @@ def serietvaggiornate(item):
infoLabels['season'] = episode[0][0]
title = str(
"%s - %sx%s %s" % (scrapedtitle, infoLabels['season'], infoLabels['episode'], contentlanguage)).strip()
"%s - %sx%s %s" % (scrapedtitle, infoLabels['season'], infoLabels['episode'], support.typo(contentlanguage, '_ [] color kod') if contentlanguage else '')).strip()
itemlist.append(
Item(channel=item.channel,
@@ -247,7 +245,7 @@ def episodios(item):
scrapedepisodetitle = cleantitle(scrapedepisodetitle)
title = str("%sx%s %s" % (scrapedseason, scrapedepisode, scrapedepisodetitle)).strip()
if 'SUB-ITA' in scrapedtitle:
title += " Sub-ITA"
title += " "+support.typo("Sub-ITA", '_ [] color kod')
infoLabels = {}
infoLabels['season'] = scrapedseason
@@ -278,7 +276,7 @@ def episodios(item):
# ----------------------------------------------------------------------------------------------------------------
def findepvideos(item):
log()
data = httptools.downloadpage(item.url, headers=headers).data
data = httptools.downloadpage(item.url, headers=headers, ignore_response_code=True).data
matches = scrapertools.find_multiple_matches(data, item.extra)
data = "\r\n".join(matches[0])
item.contentType = 'movie'