Migliorato support.match e sostituito ove usato

- Fix Animeforce
 - Fix AnimeSubITA
This commit is contained in:
Alhaziel
2020-01-15 18:44:03 +01:00
parent 89cbb8ae12
commit fce3bf2590
21 changed files with 271 additions and 165 deletions
+3 -3
View File
@@ -149,15 +149,15 @@ def findvideos(item):
id = item.args['id']
season = str(item.args['season'])
episode = str(item.args['episode'])
res = support.match(item, 'src="([^"]+)"[^>]*></video>', url=url, headers=[['Referer', domain]])
res = support.match(url, patron='src="([^"]+)"[^>]*></video>', headers=[['Referer', domain]]).match
itemlist = []
if res[0]:
if res:
itemlist.append(
Item(channel=item.channel,
action="play",
title='contentful',
url=res[0][0],
url=res,
server='directo',
fulltitle=item.fulltitle,
thumbnail=item.thumbnail,