fix: seriehd

aggiunto in novità
This commit is contained in:
greko17
2019-10-14 12:11:56 +02:00
parent 89b0e349c3
commit ab687f9786
2 changed files with 19 additions and 7 deletions

View File

@@ -7,6 +7,5 @@
"thumbnail": "seriehd.png",
"banner": "seriehd.png",
"categories": ["tvshow"],
"not_active": ["include_in_newest"],
"settings": []
}

View File

@@ -7,9 +7,6 @@
from core import scrapertoolsV2, httptools, support
from core.item import Item
##__channel__ = 'seriehd'
# host = support.config.get_channel_url(__channel__)
# impostati dinamicamente da findhost()
host = ''
headers = ''
@@ -26,9 +23,6 @@ findhost()
list_servers = ['verystream', 'openload', 'streamango', 'thevideome']
list_quality = ['1080p', '720p', '480p', '360']
##checklinks = support.config.get_setting('checklinks', __channel__)
##checklinks_number = support.config.get_setting('checklinks_number', __channel__)
@support.menu
def mainlist(item):
@@ -89,6 +83,25 @@ def episodios(item):
action = 'findvideos'
return locals()
def newest(categoria):
support.log(categoria)
itemlist = []
item = support.Item()
try:
if categoria == "series":
item.url = host
item.contentType = 'tvshow'
itemlist = peliculas(item)
itemlist.pop()
# Continua la ricerca in caso di errore
except:
import sys
for line in sys.exc_info():
support.logger.error("{0}".format(line))
return []
return itemlist
def findvideos(item):
support.log()