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

Problems with gzipped sites? #45

Closed
meub opened this issue Aug 23, 2016 · 7 comments
Closed

Problems with gzipped sites? #45

meub opened this issue Aug 23, 2016 · 7 comments
Labels

Comments

@meub
Copy link

meub commented Aug 23, 2016

I'm having issues making this work with sites on Amazon S3 with gzipped content. I get a "Finished! 0 links found." message back. Other sites without gzip work perfectly though.

Is this a known issue and are there plans to support sites that use gzip?

@stevenvachon
Copy link
Owner

It should be supported. I'll have to add tests to find out.

@meub
Copy link
Author

meub commented Aug 23, 2016

Thanks for the response. I just published a test gzipped version of my personal site: http://test.alexmeub.com

Running blc http://test.alexmeub.com results in:

Getting links from: http://test.alexmeub.com/
Finished! 0 links found.

Running blc http://alexmeub.com works just fine (my live non-gzipped site). So it seems gzipped sites don't work (at least if hosted on Amazon S3).

@stevenvachon
Copy link
Owner

bhttp doesn't support gzip. This is another reason to switch away from it.

@MrDys
Copy link

MrDys commented Mar 29, 2017

FWIW, I locally forked broken-link-checker and replaced bhttp with request-promise. I needed to be able to have cookies and gzip support. From what I can tell, it also addressed the redirects-reported-as-broken issue in #47.

@zeke
Copy link

zeke commented Feb 2, 2019

forked broken-link-checker and replaced bhttp with request-promise.

@MrDys I tried this but didn't have much luck. Can you share a link to your working fork?

@stevenvachon
Copy link
Owner

request/request#3142

@stevenvachon
Copy link
Owner

stevenvachon commented Jul 16, 2019

Fixed in v0.8.0 branch.

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

No branches or pull requests

4 participants