abrausch / coursera-downloader Goto Github PK
View Code? Open in Web Editor NEWRuby script to download material from coursera courses
Ruby script to download material from coursera courses
I some how can not get it running on Ubuntu 12.10
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- URI (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from coursera-downloader.rb:2:in `<main>'
Hi Alex,
It looks like the Coursera site now redirects if your browser doesn't support JavaScript, which Mechanize doesn't. As such the script can no longer log into the site and we get this error:
coursera-downloader.rb:19:in <main>': undefined method
email=' for nil:NilClass (NoMethodError)
Regards,
Lewis
The script tells me
"Downloading https://class.coursera.org/hci-2012-002/lecture/subtitles?q=10_en&format=srt to 2) (16 44).srt..."
and
"Downloading https://class.coursera.org/hci-2012-002/lecture/download.mp4?lecture_id=10 to 4 - 4 - Lecture 5.4 Distributing Cognition (Part 1/2) (1644).mp4..."
but the files I actually end up with are
4 - 4 - Lecture 5.4 Distributing Cognition (Part 1
and
2) (16 44).srt
This happened four times when downloading the HCI course. It appears to be the "/" in "(Part 1/2)"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.