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

Check for broken open graph image and URL #40

Open
davegaeddert opened this issue Mar 30, 2021 · 0 comments
Open

Check for broken open graph image and URL #40

davegaeddert opened this issue Mar 30, 2021 · 0 comments

Comments

@davegaeddert
Copy link
Member

Used to do this have this behavior but need to reimplement using some kind of local URL reversing?

# try:
# response = fetch.head(url)
# if response.status_code != 405:
# # just skip for now if HEAD not allowed
# response.raise_for_status()
# except Exception as e:
# issues.append(
# Issue(
# type="open-graph-image-broken", context={"exception": str(e)},
# )
# )

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

1 participant