Comments (7)
@aryangh I'm actually curious, what are you doing with pluralsight if not for programming?
from pluralsight-scraper.
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.
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.
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 beindex + numberOfFilesPresent)
or some variant of that.
how exactly should I do it ? I'm not a programmer
from pluralsight-scraper.
@knyzorg, Pluralsight is not merely for leaning programming AFAIK, I'm trying to download Linux learning videos with pluralsight.
from pluralsight-scraper.
#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.
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)
- April is free, will the maintainer return? HOT 16
- v2 branch: regex: Missing characters (Windows) HOT 1
- Directory not found (path too long; Windows) HOT 10
- Immitating Pluralsight HOT 1
- npm ERR! code ELIFECYCLE HOT 4
- Improve error handling
- Videos with resolution of 1024x768 cannot be downloaded HOT 4
- Option to ignore login for free courses
- Is there any way to download a specific range of videos ? HOT 5
- Pluralsight block my account HOT 22
- npm run login _ Not work HOT 1
- Script stopped if the title have slash character HOT 1
- Can i download one file in a video set HOT 2
- The two last videos are not downloaded of a course HOT 4
- brings an error when I type in npm run login HOT 1
- Subtitles .srt to be downloaded as well HOT 2
- Tab symbol error handling HOT 3
- Pluralsight offline player HOT 1
- Error: Protocol "blob:" not supported. HOT 6
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 pluralsight-scraper.