ocwd
ocwd copied to clipboard
Downloaded videos are all of 0 size
I tried to download the course at https://ocw.mit.edu/courses/res-6-007-signals-and-systems-spring-2011/. When I do this, although all the video files are present in "LVideos", they don't have any content (are all of 0 size). By removing the -q
flag from the wget
invocation, I found that this script was attempting to download the videos from https://ocw.mit.edu//www.archive.org/....
, but they are not available there. However, if you remove the baseLink
and leading //
, the download worked. The hackish way I did this, just to get it to work, was with wget -q -O "./$2/$filename$index$extension" "${url:2:1000}"
.