Hacker News new | ask | show | jobs
by tyingq 3357 days ago
Looks like it might be using some pattern matching that could be tightened up a bit.

For example:

http://wpdetective.io/wordpress.org

That trips it up a bit with false positives, finding plugins that aren't plugins.

1 comments

When pattern matching goes wrong... Good find, we will fix this, thanks! :)
It has the look of using regex against raw page html.

I would guess you'd have better luck parsing the html and extracting the href attributes of any <link> tags, src attributes of <script> tags, etc. Then pattern matching only against that.