scpd-scraper
scpd-scraper copied to clipboard
Download Exception
Loading video links.
Traceback (most recent call last):
File "scrape.py", line 203, in
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:
- Go to myvideosu.stanford.edu and open a lecture video of choice
- View Source
- 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";
- 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.