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