- Disattivato altadefinizione L

- Fix IlGenioDelloStreaming CAM
This commit is contained in:
Alhaziel01
2021-06-01 19:47:16 +02:00
parent b646f4bbbc
commit 6a130d08da
2 changed files with 9 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "altadefinizione01_link",
"name": "Altadefinizione01 L",
"active": true,
"active": false,
"language": ["ita","sub-ita"],
"thumbnail": "altadefinizione01_L.png",
"banner": "altadefinizione01_L.png",

View File

@@ -89,4 +89,11 @@ def newest(categoria):
def findvideos(item):
info()
return support.server(item)
urls = []
data = support.match(item).data
urls += support.match(data, patron=r'id="urlEmbed" value="([^"]+)').matches
matches = support.match(data, patron=r'<iframe.*?src="([^"]+)').matches
for m in matches:
if 'youtube' not in m and not m.endswith('.js'):
urls += support.match(m, patron=r'data-link="([^"]+)').matches
return support.server(item, urls)