Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File corrupted #140

Closed
herlon214 opened this issue Aug 18, 2015 · 7 comments
Closed

File corrupted #140

herlon214 opened this issue Aug 18, 2015 · 7 comments

Comments

@herlon214
Copy link

The code above download a rar file, and then extract him using the unrar, but sometimes the file came corrupted (I already checked it's ok with the file).

    var stream = needle.get(url, {headers: headers, "follow_max": 5});
    stream.pipe(out);
    stream.on('end', function() {
      extract();
    });

Any idea?

@tomas
Copy link
Owner

tomas commented Aug 18, 2015

Can you share the URL of the RAR you're downloading so I can test?

@herlon214
Copy link
Author

Here is the url: http://insubs.com/d/Xggr8
(You must set Referer to: http://insubs.com/l/zenr7)

2015-08-18 15:39 GMT-04:00 Tomás Pollak [email protected]:

Can you share the URL of the RAR you're downloading so I can test?


Reply to this email directly or view it on GitHub
#140 (comment).

Att, Herlon Aguiar

@tomas
Copy link
Owner

tomas commented Oct 1, 2015

I finally took the time to test this and you're right! (Sorry for taking so long).

I'll keep on testing and let you know what I find out.

@herlon214
Copy link
Author

Thanks Tomás, I'm waiting

Em quinta-feira, 1 de outubro de 2015, Tomás Pollak <
[email protected]> escreveu:

I finally took the time to test this and you're right! (Sorry for taking
so long).

I'll keep on testing and let you know what I find out.


Reply to this email directly or view it on GitHub
#140 (comment).

Att, Herlon Aguiar

@tomas
Copy link
Owner

tomas commented Oct 2, 2015

Got it! Pushing a fix in a few minutes.

@herlon214
Copy link
Author

Thanks a lot!! 😄

Em quinta-feira, 1 de outubro de 2015, Tomás Pollak <
[email protected]> escreveu:

Got it! Pushing a fix in a few minutes.


Reply to this email directly or view it on GitHub
#140 (comment).

Att, Herlon Aguiar

@sigod
Copy link

sigod commented Jun 23, 2016

@tomas
Did you forget to add out.on('end', ... or it isn't needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants