Skip to content

Commit 11a4b65

Browse files
committed
3.10.8-emergencia
1 parent 7c943c2 commit 11a4b65

14 files changed

Lines changed: 24 additions & 14 deletions

plugin.video.alfa/addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<addon id="plugin.video.alfa" name="Alfa" version="3.10.7" provider-name="Alfa Addon">
2+
<addon id="plugin.video.alfa" name="Alfa" version="3.10.8" provider-name="Alfa Addon">
33
<requires>
44
<import addon="script.module.requests" />
55
<import addon="script.module.beautifulsoup4" version="4.5.3" />

plugin.video.alfa/channels/yaske.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,16 @@
2828

2929
IDIOMAS = {"es": "CAST", "la": "LAT", "en_ES": "VOSE", "sub-es": "VOSE"}
3030

31+
CALIDADES = {
32+
"69efbcea-12fa-4de8-bd19-02fa4f3278e0":"HD-1080p",
33+
"0cff0831-29ef-402d-8261-2c9f1880d807":"HD-720p",
34+
"d9297a62-c289-4780-8c00-dab7d3249839":"HD-TS",
35+
"5f744bff-7374-40c2-8f22-bb493823d3b9":"CAM",
36+
"042a13b8-ea18-4e56-9d4e-aec2684746ec":"SD"
37+
}
38+
3139
list_language = list(IDIOMAS.values())
32-
list_quality = []
40+
list_quality = list(CALIDADES.values())
3341
list_servers = list(set(SERVER.values()))
3442

3543
__channel__='yaske'
@@ -259,7 +267,7 @@ def findvideos(item):
259267
continue
260268
else:
261269
links.append(hash)
262-
quality = elem['quality']
270+
quality = CALIDADES.get(elem['quality'], 'HD-1080p')
263271
lang = elem['language']
264272
domain = elem['domain'].split(".")[0]
265273
if domain in ["katfile", "nitroflare", "dailyuploads"]:

plugin.video.alfa/core/item.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
import sys
1616
PY3 = sys.version_info >= (3,)
17+
if PY3:
18+
unicode = str
1719

1820

1921
class InfoLabels(dict):
@@ -466,7 +468,7 @@ def toutf8(self, *args):
466468
else:
467469
value = self.__dict__
468470

469-
if not isinstance(value, bytes):
471+
if not PY3 and isinstance(value, unicode):
470472
value = value.encode("utf8")
471473
if PY3:
472474
value = value.decode("utf8")

plugin.video.alfa/lib/alfaresolver.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3_3_06.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3_3_07.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3_3_08.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3_3_09.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

plugin.video.alfa/lib/alfaresolver_py3_3_10.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)