Risposta server come Dict e modifiche varie

This commit is contained in:
Alhaziel01
2021-08-28 18:10:47 +02:00
parent 8975f950c5
commit 60ec158008
108 changed files with 330 additions and 361 deletions
+3 -3
View File
@@ -53,9 +53,9 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
ext = "mp4"
if "m3u8" in media_url:
ext = "m3u8"
video_urls.append(["%s [Vidcloud" % ext, media_url])
video_urls.append({'type':ext, 'url':media_url})
for video_url in video_urls:
logger.debug("%s - %s" % (video_url[0], video_url[1]))
# for video_url in video_urls:
# logger.debug("%s - %s" % (video_url[0], video_url[1]))
return video_urls