FallingLights / Teachable-dl

Course downloader for teachable platform written in python3 using selenium and yt-dlp
GNU Lesser General Public License v3.0
106 stars 27 forks source link

[FEATURE] scan for previously downloaded content #10

Closed r4v3r23 closed 1 year ago

r4v3r23 commented 1 year ago

is there a way to get the script to start where it left off in case of an interruption?

FallingLights commented 1 year ago

Currently it start from the beginning and checks if the file exists if it does it skips it and goes to the next one. (Videos are also checked for corruption)

If I will have time this weekend I will try implementing a a better way of doing this

r4v3r23 commented 1 year ago

yes i noticed, but this still takes time. i also had a couple of incomplete videos downloaded that were chopped at the end after my network dropped - should I just replace the course link with those specific videos' links to only download those videos again?

reggian commented 1 year ago

I have added subtitle skipping on my fork. I can submit a PR for if desired.

FallingLights commented 1 year ago

Hi @reggian!

If you'd like to submit a pull request (PR), that would be really great.

Thanks for your contribution!

reggian commented 1 year ago

Adding the PR link here for reference, I see you already pulled it in. #17