Fix altadefinizione01 (#445)

This commit is contained in:
Michele Zuccalà
2023-11-17 20:35:26 +01:00
committed by marco
parent b19d5bed52
commit 7287780c65

View File

@@ -148,7 +148,7 @@ def findvideos(item):
itemlist = support.server(item, itemlist=itemlist, headers=headers)
if not itemlist:
data = httptools.downloadpage(item.url).data
iframe = support.match(data, patron='src="(http[^"]+)" frameborder').match
iframe = support.match(data, patron='src="(http[^"]+)" frameborder=\"0\" allow=\"accelerometer; autoplay;').match
if iframe:
item.url = iframe
return support.server(item)