dgorissen / coursera-dl

A script for downloading course material (video's, pdfs, quizzes, etc) from coursera.org
http://dirkgorissen.com/2012/09/07/coursera-dl-a-coursera-download-script/
GNU General Public License v3.0
1.73k stars 299 forks source link

Download subtitles in the language specified from command line #110

Closed yehezkielbs closed 9 years ago

yehezkielbs commented 10 years ago

For example, the video of this course https://www.coursera.org/course/calvin is in french, but it has 2 subtitles: french & english.

The published link on the course page (https://class.coursera.org/calvin-001/lecture/index) is only french subtitle, for example : https://class.coursera.org/calvin-001/lecture/subtitles?q=55_fr&format=srt . The english version of that subtitle is just to replace "fr" with "en" https://class.coursera.org/calvin-001/lecture/subtitles?q=55_en&format=srt

The script wouldn't be able to detect what languages are available to download, so the users have to specify that they want to download the "en" version, for example.

yehezkielbs commented 10 years ago
dgorissen commented 10 years ago

I see this was never commented on. Could be useful and not too invasive to change but out of scope for me currently. Happy to review pull requests though.