Coder Social home page Coder Social logo

Comments (7)

vezaynk avatar vezaynk commented on August 16, 2024 1

@aryangh I'm actually curious, what are you doing with pluralsight if not for programming?

from pluralsight-scraper.

Aryangh1379 avatar Aryangh1379 commented on August 16, 2024

Currently, if the script breaks, I have to restart downloading from the beginning of a course. I would love to be able to resume from where it broke.

Perhaps it could skip existing files, even if I have to manually confirm Y/N for overwriting existing files?

Yeah, i have the same problem, i really do need this bot, i hope the developer could update it so often.

from pluralsight-scraper.

vezaynk avatar vezaynk commented on August 16, 2024

I'm a pretty busy guy. Right now I did the bare minimum to get it working again. I'm hoping on other people contributing to the code-base.

All that needs to happen to make this work is a .slice(numberOfFilesPresent-1) on the list of videos to download and and adjust the indexes of the file to be index + numberOfFilesPresent) or some variant of that.

from pluralsight-scraper.

Aryangh1379 avatar Aryangh1379 commented on August 16, 2024

I'm a pretty busy guy. Right now I did the bare minimum to get it working again. I'm hoping on other people contributing to the code-base.

All that needs to happen to make this work is a .slice(numberOfFilesPresent-1) on the list of videos to download and and adjust the indexes of the file to be index + numberOfFilesPresent) or some variant of that.

how exactly should I do it ? I'm not a programmer

from pluralsight-scraper.

Aryangh1379 avatar Aryangh1379 commented on August 16, 2024

@knyzorg, Pluralsight is not merely for leaning programming AFAIK, I'm trying to download Linux learning videos with pluralsight.

from pluralsight-scraper.

gillespieza avatar gillespieza commented on August 16, 2024

#umactually this shouldn't be needed, because your code already checks the local filesystem for if the video already exists?
if (!fs.existsSync(file)) { console.log('Downloading video file for: ${video.title + ".mp4"}'); const data = await fetch(video.url); const fileStream = fs.createWriteStream(file); data.body.pipe(fileStream); }

However, with every PL course I've tried, I get a few videos (between 7 and 15), then the script breaks, and if I restart it, it starts again from video 1, and breaks at the same spot.

from pluralsight-scraper.

coeur85 avatar coeur85 commented on August 16, 2024

any one cares to write an sample code to start downloading from video index 13 , so it skips checking for the previous videos ?

from pluralsight-scraper.

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.