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

Reppy cache fetch error on #111

Open
mkozmelj opened this issue Apr 2, 2019 · 2 comments
Open

Reppy cache fetch error on #111

mkozmelj opened this issue Apr 2, 2019 · 2 comments

Comments

@mkozmelj
Copy link

mkozmelj commented Apr 2, 2019

Reppy return an error when trying to get robots.txt file that is not there. I try to put code in try/except block but error is still there.

@dlecocq
Copy link

dlecocq commented Apr 2, 2019

@mkozmelj - can you include the code snippet you were using and the robots.txt you were trying to fetch?

If the robots.txt request ultimately returns a 404, it /should/ behave as an AllowAll (https://github.com/seomoz/reppy/blob/master/tests/test_robots.py#L196)

@PLPeeters
Copy link

I believe this behaviour is more or less fixed by #119.

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