Fix v.redd.it URLs
This commit is contained in:
@@ -298,7 +298,7 @@ def matchWithDownloader(submission):
|
|||||||
"DASH_480","DASH_360","DASH_240"]
|
"DASH_480","DASH_360","DASH_240"]
|
||||||
|
|
||||||
for bitrate in bitrates:
|
for bitrate in bitrates:
|
||||||
videoURL = submission.url+"/"+bitrate
|
videoURL = submission.url+"/"+bitrate+".mp4"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
responseCode = urllib.request.urlopen(videoURL).getcode()
|
responseCode = urllib.request.urlopen(videoURL).getcode()
|
||||||
|
|||||||
Reference in New Issue
Block a user