|
|
@ -85,11 +85,12 @@ class YoutubeTask(Task):
|
|
|
|
video_priority = 1
|
|
|
|
video_priority = 1
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
video_quality = "unknown"
|
|
|
|
video_quality = "unknown"
|
|
|
|
video_priority = 0
|
|
|
|
video_priority = 10
|
|
|
|
print "UNKNOWN: %s" % quality
|
|
|
|
print "UNKNOWN: %s" % quality
|
|
|
|
|
|
|
|
|
|
|
|
stream_dict = {
|
|
|
|
stream_dict = {
|
|
|
|
'url' : video_url,
|
|
|
|
'url' : video_url,
|
|
|
|
|
|
|
|
'method' : "GET",
|
|
|
|
'quality' : video_quality,
|
|
|
|
'quality' : video_quality,
|
|
|
|
'priority' : video_priority,
|
|
|
|
'priority' : video_priority,
|
|
|
|
'format' : video_format,
|
|
|
|
'format' : video_format,
|
|
|
|