Comments (4)
Yep, the entire assignments process could do with some improvement (the current implementation is very naive)
I think I'm going to settle for downloading all non html files that are in the main page. I'll probably use some kind of solution similar to what you pasted
from coursera-dl-all.
God the old Coursera platform is so unstandardized it's frustrating. I can almost see why they want to force everybody to switch.
from coursera-dl-all.
One other thing I've noticed with a few of the courses (such as androidapps101-002) is that they have custom assignment & preliminary setup pages in the course's /wiki/ section instead of linking directly through the sidebar. Explicitly iterating through all /wiki/ sub-URL's using download_all_zips_on_page would be a good idea, as otherwise some of these courses are devoid of hands-on content.
One possible (but slow) implementation is to create a 'wiki' folder, recursively scan every link on each page for the sub-string '[coursera course url]/wiki/', and then save each .html along with all supporting material by using the download_all_zips_on_page function. If a wiki page has already been visited, it can be skipped.
from coursera-dl-all.
I changed the checking for the file extension to using os.path.splitext.
I also added download_zips to all the sidebar links.
from coursera-dl-all.
Related Issues (18)
- Downloaded Courses HOT 3
- could you write the instruction step by step for dummy? HOT 2
- different errors when attempting to run in 2 different ways HOT 3
- Firefox Needed? HOT 2
- error module doesn't exist for urllib in Python 2.x HOT 2
- Symbols in password causes authentication errors HOT 2
- Further file and directory name sanitization needed HOT 3
- Are you able to download Assignments/Quizzes ? HOT 1
- Could not authenticate; Did not find necessary cookies HOT 1
- Sidebar title with forward slash causes IOError HOT 1
- algo-004 and algo2-003 improperly resolve (and miscellaneous other issues) HOT 3
- Programming1-002 edge case HOT 1
- Stuck at logging in HOT 2
- Index out of Range error -- Platform: {Windows7, Python 2.7, PhantomJS} Course:{compilers-004} HOT 1
- ContentTooShortError HOT 9
- WindowsError: [Error 267] The directory name is invalid: u'assignments/Programming Assignment 1: WordNet' HOT 2
- No Quiz and Assignments for comparch-003 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coursera-dl-all.