From 947cb7f51f34131f57771b5f94fb912a9efb8182 Mon Sep 17 00:00:00 2001
From: Intel1 <25161862+Intel11@users.noreply.github.com>
Date: Mon, 13 Nov 2017 14:47:18 -0500
Subject: [PATCH] crunchyroll: fix
---
plugin.video.alfa/channels/crunchyroll.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/plugin.video.alfa/channels/crunchyroll.py b/plugin.video.alfa/channels/crunchyroll.py
index 0346b1c1..cb31033e 100755
--- a/plugin.video.alfa/channels/crunchyroll.py
+++ b/plugin.video.alfa/channels/crunchyroll.py
@@ -168,11 +168,11 @@ def episodios(item):
data = httptools.downloadpage(item.url).data
data = re.sub(r'\n|\t|\s{2,}', '', data)
- patron = '
' \
+ patron = '' \
'\s*(.*?).*?description":"([^"]+)"'
if data.count('class="season-dropdown') > 1:
- bloques = scrapertools.find_multiple_matches(data, 'class="season-dropdown[^"]+" title="([^"]+)"(.*?)')
+ bloques = scrapertools.find_multiple_matches(data, 'class="season-dropdown[^"]+".*?title="([^"]+)"(.*?)')
for season, b in bloques:
matches = scrapertools.find_multiple_matches(b, patron)
if matches:
@@ -209,7 +209,6 @@ def episodios(item):
Item(channel=item.channel, action="play", title=title, url=url, thumbnail=thumb, media_id=media_id,
server="crunchyroll", text_color=item.text_color, contentTitle=item.contentTitle,
contentSerieName=item.contentSerieName, contentType="tvshow"))
-
return itemlist