Fix v.redd.it URLs
This commit is contained in:
1 parent
50d800baf1
commit
50d9163dd8
1 file changed
+1
-1
+1
-1
@@ -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