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.74k stars 299 forks source link

index.html and lectures.html are broken #157

Closed SebastianLopienski closed 9 years ago

SebastianLopienski commented 9 years ago

After downloading course materials, when I open index.html or lectures.html with any browser, I see this error instead of the expected content (e.g. the list of lectures):

ooops... HTTP 404
Looks like you found a page that does not exist or the URL was mistyped by accident.
If you feel this was an error, please visit our help site to contact us.

(Tried on several different courses, and with different browsers)

dgorissen commented 9 years ago

duplicate of #121

This is simply because the html files are not modified to point to the local files.

SebastianLopienski commented 9 years ago

Sure, the downloaded html files indeed don't point to the local resource files. But they don't even include a list of lectures. I guess these html files are inherently broken because of how the original Coursera pages are dynamically built. Instead of trying to solve it (and risking that any solution breaks as soon as Coursera changes something on their side), I thought of simply generating an additional html file with a list of lectures and their resources. Here's one possible implementation: #158 - thanks for considering it.

dgorissen commented 9 years ago

Agreed. Traveling now, will look at the PR, feel free to poke if you haven't heard back in a while.

SebastianLopienski commented 9 years ago

Just a gentle reminder poke :-) have you had a chance to look at it?