Comments (6)
When using an external downloader, resuming is automatically done. I'm currently using aria2c
instead of wget
, as it is able to download many things in parallel. The patch that I have is not quite ready for prime time, though.
The proper solution would be to generalize the "outsourcing" of downloading material to a specialized download program.
from coursera-dl.
Please do submit the patch when ready!
from coursera-dl.
Are you interested in that? To simply resume downloads, you can add the -c
option to wget
.
Of course, with aria2c
, you can get parallel downloads, which is a nice thing to use your bandwidth. How polished do you want the patch to use aria2c
?
Anyway, it would be nice to have my previous pull request (issue #19) merged, so that we can focus on other improvements.
from coursera-dl.
Hi and Thx a lot for this script really nice one.
Would be really cool to have resume and parallel DL
from coursera-dl.
The issue I see is that we always remove partially downloaded files right now, so we'd need to add a flag to keep partials, and then for each downloader, we must add the option to resume.
A person using this option is at their own risk of using a downloading method which does not resume, and will thus skip over those partials. I would also think this would be slower in general because it'll need to try every file, unless additional logic is added to only retry files with a recent timestamp.
@rbrito any thoughts? I see you had some comments a long time ago but I'm assuming #19 was merged by now.
from coursera-dl.
I too noticed that partially downloaded files are not completed the next time the script is run. Even a zero length mp4
is skipped. Two solutions:
- Do a
HEAD
request against each asset (pref with pipelining) - Keep partially downloaded files in a temp area and move them to the dest on completion
One of my biggest use cases for the downloader is to be able to watch the videos while on fragile and/or low bandwidth connections. In Malaysia and Nepal coursera was impossible for me without the downloader.
from coursera-dl.
Related Issues (20)
- Coursera-dl worked and now stops with an 404 error on the same class HOT 12
- Error 403 Client Error: Forbidden for url: https://api.coursera.org/api/memberships.v1?includes=courseId,courses.v1&q=me&showHidden=true&filter=current,preEnrolled getting page https://api.coursera.org/api/memberships.v1?includes=courseId,courses.v1&q=me&showHidden=true&filter=current,preEnrolled The server replied: {"errorCode":"Not Authorized","message":null,"details":null} HOT 7
- Cannot download files on Coursera platform
- Issue in Parsing syllabus of on-demand course HOT 2
- Unable to reinstall coursera-dl HOT 1
- Course with `-` prefix to course name not downloading! HOT 2
- How to download only the transcript
- Please provide a username with the -u option, or a .netrc file with the -n option. HOT 3
- stops downloading after a while
- connection.py
- Autosave failed and permission denied in all notebooks HOT 2
- Coursera - API Route Does Not Exist HOT 5
- Coursera - API Route Does Not Exist They have upgraded to V3 HOT 3
- What login pass should I use?
- Issue with coursera-dl: Error 400 Client Error: Bad Request HOT 4
- Not able to download course
- Not working with latest python versions HOT 7
- courser-helper error HOT 1
- HTTPError 404 Client Error: Not Found for URL HOT 7
- Ability to skip a single video by request HOT 4
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.