Fix Dreamsub

This commit is contained in:
Alhaziel
2020-01-22 20:56:32 +01:00
parent e3d20d6453
commit ef03a17f04

View File

@@ -111,15 +111,15 @@ def findvideos(item):
itemlist = []
support.log()
matches = support.match(item, patron=r'<a href="([^"]+)"', patronBlock=r'<div style="white-space: (.*?)<div id="main-content"')
matches = support.match(item, patron=r'href="([^"]+)"', patronBlock=r'<div style="white-space: (.*?)<div id="main-content"')
if not matches.matches:
if not matches.matches and item.contentType != 'episode':
item.data = matches.data
item.contentType = 'tvshow'
return episodios(item)
# matches.matches.sort()
support.log('VIDEO')
for url in matches.matches:
lang = url.split('/')[-2]
if 'ita' in lang.lower():