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 against known badge URLs #7

Closed
maxdeviant opened this issue Feb 1, 2016 · 3 comments
Closed

Check against known badge URLs #7

maxdeviant opened this issue Feb 1, 2016 · 3 comments

Comments

@maxdeviant
Copy link

Should badginator check against known URLs for serving badges to prevent false positives (e.g., a non-badge PNG that links somewhere)?

@defunctzombie
Copy link
Owner

@maxdeviant that is one approach tho I was hesitant to do that cause I would need to start maintaining a master list of badge URL (which may not be that terrible but seems like it could discourage use).

I've actually been working on a solution which uses image analysis to determine if the actual image served by the URL is a badge. Maybe a combination of a URL master list and this technique can be used.

Hoping to get improved recognition out this week so the readme regex hack can be removed since it is unreliable.

@maxdeviant
Copy link
Author

Maintaining a master list doesn't sound like fun, but it's probably the simplest way.

Image analysis would be a much cooler solution though 😄

@defunctzombie
Copy link
Owner

Commented in #1 with progress.

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

2 participants