Closed zoo1 closed 9 years ago
@zoo1 hi, thanks for the PR. a couple issues:
npm test
to see themhttp://
, https://
and redirects at the least. I would recommend using require('got')
to handle these cases. but it begs the question: should the torrent
module include an http client, or should users simply use curl
or any other tool to download the files first. I personally would lean towards the latter, and keep torrent
simpler.Or feross/simple-get, but I'm also leaning towards piping output from curl
or any other program, which is already supported. If we are going to support http we probably should support proxies, show a progress-bar while downloading the file and have sensible timeouts. All of this is better handled with a separate program.
Thanks for the response guys, from the responses I am getting it seems like this feature is undesired. I will retract my pull request.
We appreciate your time and effort, but I think that this is best solved outside of this module. Thank you!
It might be wise to close issue #28 to where no one repeats the same mistake I just made.
Very wise, thank you for the reminder :sun_with_face:
Added torrent URL support for issue #28. My first commit to this repository so please let me know if I am committing any styling violations.