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
+1 -1
View File
@@ -18,6 +18,6 @@ def get_video_url(page_url, user="", password="", video_password=""):
data = httptools.downloadpage(page_url).data
video_urls = []
videourl = scrapertools.find_single_match(data, 'source src="([^"]+)')
video_urls.append([".MP4 [jawcloud]", videourl])
video_urls.append({'type':'mp4', 'url':videourl})
return video_urls