Open thewertzgroup opened 10 years ago
This is due to an issue with the new scpd system. We are working on fixing it
https://github.com/jkeesh/scpd-scraper/issues/12
Looks like the issue is bc mechanize can't process the javascript link to the videos?
In the meantime, just as a public service announcement, this is a click-intensive hack, but while we wait for the kind people above to figure out the javascript link issue, you can still download the videos for free if you do the following:
1) Go to myvideosu.stanford.edu and open a lecture video of choice 2) View Source 3) Look for the part of the script that says something like the following:
var videoURI = "mms://cobb.stanford.edu/courses/cs224w/131004/131004-cs224w-EYcCVus4zIfrnXQvlX80-500.wmv";
4) use the mms in a terminal command formatted like this:
mimms -c mms://cobb.stanford.edu/courses/CS224W/130926/130926-cs224w-BrElOMcGDG4yWRyQFJqq-500.wmv PATH_TO_DESIRED_OUTPUT_LOCATION.wmv &
and it will download in the background.
Loading video links. Traceback (most recent call last): File "scrape.py", line 203, in
downloadAllCourses(username, courseNames, downloadSettings)
File "scrape.py", line 147, in downloadAllCourses
downloadAllLectures(username, courseName, password, downloadSettings)
File "scrape.py", line 104, in downloadAllLectures
links.append(re.search(r"'(.*)'",link.url).group(1))
AttributeError: 'NoneType' object has no attribute 'group'