Fix Altadefinizione Community

This commit is contained in:
Alhaziel01
2021-09-29 17:16:16 +02:00
parent 5229deeaf2
commit af14b730f1

View File

@@ -186,7 +186,9 @@ def search(item, texto):
def genres(item):
logger.debug(item)
data = support.httptools.downloadpage(item.url, cloudscraper=True).data
# debugBlock=True
blacklist= ['Film', 'Serie TV']
patronBlock = r'{}<span></span>(?P<block>.*?)</ul>\s*</li'.format('Film' if item.contentType == 'movie' else 'Serie TV')
patronMenu = r'<a href="(?P<url>[^"]+)">(?P<title>[^<]+)'
if item.args == 'year':