Comments (3)
A whole year have passed since I last tried using this and couldn't... Still no simple example usage.. I just found out its Rx -based (whatever that is, which I'm not interested to know either)
from multi-threaded-downloader.
I just found this and while I think that this might interesting I have no idea how to do anything with this module because there is no example whatsoever and it's quite complex to wrap my head around it.
from multi-threaded-downloader.
Same here. There is a wrapper at https://github.com/leeroybrun/node-mt-files-downloader which simplifies things and has examples, but it also mentions that it needs refactoring to work with the latest mt-downloader versions. (A more recent fork of the wrapper is found here https://github.com/Fer0x/node-mt-files-downloader)
The closest available in this lib seem to be the createDownload
function at https://github.com/tusharmath/Multi-threaded-downloader/blob/master/perf/TestHelpers.js#L45 (a function which possibly previously was part of an official example according to #63)
Example usage is found at https://github.com/tusharmath/Multi-threaded-downloader/blob/master/test/integration/test.mtd.js#L42
await createDownload({
url: 'http://localhost:3200/files/pug.jpg',
path: path1
}).toPromise()
Imports:
import {createDownload} from 'mt-downloader/perf/TestHelpers'
from multi-threaded-downloader.
Related Issues (20)
- Download Fails
- Support chunked downloads (Failure Error: File size could not be determined) HOT 8
- Error on CLI HOT 1
- Error: The .mtd file is corrupt. Start a new download?? HOT 3
- Calling DownloadFromMTDFile on a file already complete results in error HOT 1
- basic auth in options? HOT 6
- How can I do to get the file fast HOT 3
- Action required: Greenkeeper could not be activated 🚨
- Resume does not work in Windows HOT 1
- Problem With Files Downloaded In Windows HOT 2
- download m4a file has issue in windows HOT 2
- Implementing ProgressBar with progress update HOT 1
- Complete and exit long after
- Save downloaded file in HTML5 Filesystem HOT 1
- Example Usage on ReadMe.md HOT 5
- createDownload is not a function.....
- Can't stop the download
- Switch from npm/request to something supported (node-fetch?) HOT 1
- Live Version Here
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 multi-threaded-downloader.