Risposta server come Dict e modifiche varie
This commit is contained in:
+3
-3
@@ -31,9 +31,9 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
||||
"&Cookie=%s; %s" % (cfduid, univid)
|
||||
|
||||
video_urls = []
|
||||
video_urls.append([scrapertools.get_filename_from_url(media_url)[-4:] + " [vimple.ru]", media_url])
|
||||
video_urls.append({'type':scrapertools.get_filename_from_url(media_url).split('.')[-1], '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
|
||||
|
||||
Reference in New Issue
Block a user