Merge branch 'master' of https://github.com/greko17/addon
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ from core.item import Item
|
||||
from platformcode import logger, config
|
||||
from channelselector import thumb
|
||||
|
||||
host = "https://seriehd.casa/"
|
||||
host = "https://seriehd.casa"
|
||||
|
||||
IDIOMAS = {'Italiano': 'IT'}
|
||||
list_language = IDIOMAS.values()
|
||||
|
||||
+3
-3
@@ -19,16 +19,16 @@ def hdpass_get_servers(item):
|
||||
if 'https' not in url:
|
||||
url = 'https:' + url
|
||||
|
||||
if 'hdpass' in url:
|
||||
if 'hdpass' or 'hdplayer' in url:
|
||||
data = httptools.downloadpage(url).data
|
||||
|
||||
|
||||
start = data.find('<div class="row mobileRes">')
|
||||
end = data.find('<div id="playerFront">', start)
|
||||
data = data[start:end]
|
||||
|
||||
patron_res = '<div class="row mobileRes">(.*?)</div>'
|
||||
patron_mir = '<div class="row mobileMirrs">(.*?)</div>'
|
||||
patron_media = r'<input type="hidden" name="urlEmbed" data-mirror="([^"]+)" id="urlEmbed" value="([^"]+)"\s*/>'
|
||||
patron_media = r'<input type="hidden" name="urlEmbed" data-mirror="([^"]+)" id="urlEmbed"\s*value="([^"]+)"\s*/>'
|
||||
|
||||
res = scrapertoolsV2.find_single_match(data, patron_res)
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
{
|
||||
"id": "lowerize_title",
|
||||
"type": "list",
|
||||
"label": "Crear directorios con letras en minúsculas",
|
||||
"label": "@70703",
|
||||
"default": 0,
|
||||
"lvalues": [
|
||||
"Si",
|
||||
|
||||
Reference in New Issue
Block a user