Fix dooplay_menu

This commit is contained in:
Alhaziel
2020-01-21 12:41:13 +01:00
parent 851798d3fc
commit dd900ba2a7
2 changed files with 3 additions and 3 deletions

View File

@@ -424,14 +424,14 @@ def thumb(itemlist=[], genre=False, thumb=''):
item.thumbnail = get_thumb(thumb + '.png')
else: item.thumbnail = get_thumb(thumb + '.png')
else:
thumb = item.thumbnails
thumb = item.thumbnail
else:
for thumb, titles in icon_dict.items():
if any(word in re.split(r'\.|\{|\}|\[|\]|\(|\)| ',item.title.lower()) for word in titles ):
item.thumbnail = get_thumb(thumb + '.png')
else:
thumb = item.thumbnails
thumb = item.thumbnail
item.title = re.sub(r'\s*\{[^\}]+\}','',item.title)

View File

@@ -552,7 +552,7 @@ def dooplay_search_vars(item, blacklist):
def dooplay_menu(item, type):
patron = '<a href="(?P<url>[^"#]+)"(?: title="[^"]+")?>(?P<title>[a-zA-Z0-9]+)'
patronMenu = '<a href="(?P<url>[^"#]+)"(?: title="[^"]+")?>(?P<title>[a-zA-Z0-9]+)'
patronBlock = '<nav class="' + item.args + '">(?P<block>.*?)</nav>'
action = 'peliculas'