diff --git a/channels/altadefinizionecommunity.py b/channels/altadefinizionecommunity.py index 9aa5452f..26b12c82 100644 --- a/channels/altadefinizionecommunity.py +++ b/channels/altadefinizionecommunity.py @@ -118,7 +118,7 @@ def peliculas(item): except: data = ' ' - patron = r'wrapFilm">\s*[^>]+>(?P\d+)(?:[^>]+>){2}(?P[^<]+)(?:[^>]+>){4}\s*]+>){2,6}\s+

(?P[^<[]+)(?:\[(?P<lang>[sSuUbBiItTaA-]+))?' + patron = r'wrapFilm">\s*<a href="(?P<url>[^"]+)">[^>]+>(?P<year>\d+)(?:[^>]+>){2}(?P<rating>[^<]+)(?:[^>]+>){4}\s*<img src="(?P<thumb>[^"]+)(?:[^>]+>){2,6}\s+<h3>(?P<title>[^<[]+)(?:\[(?P<lang>[sSuUbBiItTaA -]+))?' # patron = r'wrapFilm">\s*<a href="(?P<url>[^"]+)">[^>]+>(?P<year>\d+)(?:[^>]+>){2}(?P<rating>[^<]+)(?:[^>]+>){4}\s*<img src="(?P<thumb>[^"]+)(?:[^>]+>){3}(?P<title>[^<[]+)(?:\[(?P<lang>[sSuUbBiItTaA-]+))?' def itemHook(item): diff --git a/core/videolibrarytools.py b/core/videolibrarytools.py index a59409cc..af429ee6 100644 --- a/core/videolibrarytools.py +++ b/core/videolibrarytools.py @@ -41,7 +41,7 @@ def read_nfo(path_nfo, item=None): @rtype: tuple (str, Item) """ head_nfo = "" - it = None + it = Item() data = filetools.read(path_nfo)