Git Product home page Git Product logo

Comments (6)

rbrito avatar rbrito commented on May 21, 2024

Hi.

On Wed, Jan 30, 2013 at 9:33 PM, dipen [email protected] wrote:

I might be using the script multiple times on the same course, for instance when a new week of videos are put online. Will the script skip already downloaded sections or will it try to download from the start?

No, it won't overwrite the files. I use it myself to only download the
missing videos for a given course.

Regards,

Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

from coursera-dl.

dipen avatar dipen commented on May 21, 2024

Thanks!

from coursera-dl.

dipen avatar dipen commented on May 21, 2024

As far as I can tell, its downloading the videos (the ones downloaded in first run) again on the second run.

I downloaded the course yesterday and then I was showing a friend this utility, it started downloaded ( heavy download internet traffic ) the videos again. I really like it, but this is kind of a bummer :(

from coursera-dl.

dipen avatar dipen commented on May 21, 2024

Actually, I think I'll need to look at code to be sure, its skipped many but then downloaded some which I'm sure were there yesterday. Here is the output log

https://gist.github.com/dipen/4714437

from coursera-dl.

jplehmann avatar jplehmann commented on May 21, 2024

Are you sure that all of those files were already there? Kind of strange for it to skip some but not all which were already downloaded.

What happens if you let it run to completion (that is, it downloads eveything available), and then run the command again? It should skip everything in this case. This should be easy to verify.

from coursera-dl.

rbrito avatar rbrito commented on May 21, 2024

Hi.

On Tue, Feb 5, 2013 at 11:31 AM, John Lehmann [email protected] wrote:

Are you sure that all of those files were already there? Kind of strange for it to skip some but not all which were already downloaded.

Something that I have seen happen is that:

  • Coursera uploads some (but not all) material for a given week to
    Amazon. Then, they update the things remaining (e.g., missing PDFs
    etc).
  • Some files are uploaded to Amazon, but, for some reason, Amazon
    gives us a 403 (forbidden) or 500 (server error) when serving them.
    Then, in a second run (after a few hours), the files become available
    again.

I see this when downloading with aria2c (which usually has very
verbose output and, now, it has colors :) ) and I have, therefore,
learnt to not worry in such cases, as the problem is not with
coursera-dl, but out of our hands.

To the original poster: can you verify that you're not hitting one of
the cases that I mentioned above?

It would help a lot if you could use an external downloader (say,
wget) and stare at its output when downloading stuff.

Regards,

Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

from coursera-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.