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
@@ -123,10 +123,10 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
for media_url, label in media_urls:
if not media_url.endswith("png") and not media_url.endswith(".srt"):
video_urls.append(["." + media_url.rsplit('.', 1)[1] + " [flashx]", media_url, 0, subtitle])
video_urls.append({'type':media_url.rsplit('.', 1)[1], 'url':media_url, 'sub':subtitle})
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]))
except:
pass