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

Missing Accept header causes problems on some sites #155

Closed
nijel opened this issue Jun 26, 2018 · 1 comment
Closed

Missing Accept header causes problems on some sites #155

nijel opened this issue Jun 26, 2018 · 1 comment

Comments

@nijel
Copy link

nijel commented Jun 26, 2018

Graby fails to fetch content from https://www.marigold.cz/item/projektovy-manazer-je-v-cesku-sproste-slovo-ke-skode-projektu. The reason is that server fails with HTTP 403 when Accept header is missing.

I've discovered this in Wallabag, but I think Graby might be place to address this (or SafeCurl). All what is needed is to add Accept: */* header to performed requests.

I've hacked this into SafeCurl (see j0k3r/safecurl#4), but I'm not really sure this is good location for such fix.

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

Successfully merging a pull request may close this issue.

2 participants