mit-ocw-dl icon indicating copy to clipboard operation
mit-ocw-dl copied to clipboard

Adding Pause Feature

Open meetps opened this issue 10 years ago • 4 comments

meetps avatar Dec 16 '14 07:12 meetps

What sort of help do you need?

martiansideofthemoon avatar Oct 15 '15 07:10 martiansideofthemoon

Not much though , adding keybindings for pause and restart the process of downloading as the files maybe huge and one might not want to download them in a single go. Adding a instruction statement in the beginning might also be helpful.

meetps avatar Oct 15 '15 10:10 meetps

so maybe pipe the built url from download.py to curl or wget? << I can help you there. If you do this you can also trivially pick python2 for the user even if it's not the default one, and check if they even have in the first place. I also have a suggestion. Can you append "/lecture-videos/" for the user?

aj326 avatar Mar 15 '17 12:03 aj326

@aj326 - Those are good ideas. I was thinking of having a progress bar for the download using tqdm and thus wanted to stick to urlib2. please feel free to send a PR with your suggestions.

meetps avatar Mar 15 '17 13:03 meetps