From 09df0170ab1450aa41056d0c6898f4f33c778e5f Mon Sep 17 00:00:00 2001 From: d2038 <35503394+d2038@users.noreply.github.com> Date: Sun, 14 Jun 2026 10:27:19 -0400 Subject: [PATCH] =?UTF-8?q?fix(AlfaChannelHelper):=20corregir=20asignaci?= =?UTF-8?q?=C3=B3n=20de=20kwargs['alfa=5Fs']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kwargs['alfa_s': True] usa un objeto slice como clave del dict, lo que lanza TypeError: unhashable type: 'slice' en tiempo de ejecución cuando self.CACHING_DOMAINS es truthy. La clave 'alfa_s' nunca llegaba a añadirse a kwargs, por lo que httptools.downloadpage() no recibía el parámetro esperado. --- plugin.video.alfa/lib/AlfaChannelHelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/lib/AlfaChannelHelper.py b/plugin.video.alfa/lib/AlfaChannelHelper.py index aa5d9b1..245d16d 100644 --- a/plugin.video.alfa/lib/AlfaChannelHelper.py +++ b/plugin.video.alfa/lib/AlfaChannelHelper.py @@ -274,7 +274,7 @@ def create_soup(self, url, item=Item(), **kwargs): self.KWARGS.update(kwargs) kwargs = copy.deepcopy(self.KWARGS) elif self.CACHING_DOMAINS: - kwargs['alfa_s': True] + kwargs['alfa_s'] = True #logger.debug('KWARGS: %s' % kwargs) response = self.httptools.downloadpage(url, **kwargs)