Riattivato filmstreaming, fix minori
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
"dreamsub": "https://www.animeworld.tv",
|
||||
"eurostreaming": "https://eurostreaming.autos",
|
||||
"eurostreaming_actor": "https://eurostreaming.taxi",
|
||||
"filmstreaming": "https://filmstreaming.media",
|
||||
"filmstreaming": "https://filmstreaming.sbs",
|
||||
"guardaseriecam": "https://guardaserie.baby",
|
||||
"hd4me": "https://hd4me.net",
|
||||
"ilcorsaronero": "https://ilcorsaronero.link",
|
||||
|
||||
@@ -143,7 +143,7 @@ def peliculas(item):
|
||||
return itemlist
|
||||
|
||||
else:
|
||||
pagination = ''
|
||||
# pagination = ''
|
||||
if item.args == 'incorso':
|
||||
patron = r'<a href="(?P<url>[^"]+)"[^>]+>(?P<title>[^<(]+)(?:\s*\((?P<year>\d+)\))?(?:\s*\((?P<lang>[A-za-z-]+)\))?</a>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>\s*<img width="[^"]+" height="[^"]+" src="(?P<thumb>[^"]+)"[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<plot>[^<]+)<'
|
||||
else:
|
||||
|
||||
@@ -124,6 +124,7 @@ def news(item):
|
||||
js = fullJs['data']
|
||||
|
||||
for it in js:
|
||||
if it.get('anime', {}).get('title'):
|
||||
itemlist.append(
|
||||
item.clone(title= support.typo(it['anime']['title'] + ' - EP. ' + it['number'], 'bold'),
|
||||
fulltitle=it['anime']['title'],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "filmstreaming",
|
||||
"name": "Film Streaming",
|
||||
"language": ["ita"],
|
||||
"active": false,
|
||||
"active": true,
|
||||
"thumbnail": "filmstreaming.png",
|
||||
"banner": "filmstreaming.png",
|
||||
"categories": ["movie"],
|
||||
|
||||
@@ -506,11 +506,11 @@ class UnshortenIt(object):
|
||||
r = httptools.downloadpage(uri, timeout=self._timeout, cookies=False)
|
||||
html = r.data
|
||||
|
||||
uri = re.findall(r'<iframe\s+src="([^"]+)', html)[0]
|
||||
if not uri and 'Questo video è in conversione' in html:
|
||||
n_uri = re.findall(r'<iframe\s+src="([^"]+)', html)
|
||||
if not n_uri and 'Questo video è in conversione' in html:
|
||||
return uri, 404
|
||||
|
||||
return uri, r.code
|
||||
return n_uri[0], r.code
|
||||
|
||||
except Exception as e:
|
||||
return uri, str(e)
|
||||
|
||||
Reference in New Issue
Block a user