Open qwo opened 9 years ago
Interesting bug. Looks like an upstream problem.
I think the internet lost knowledge of who maintains pugme.herokuapp.com, so it's probably easier to try to strip the HTML here.
Replacing \".*
with empty string should be a good start, although then you miss out on some pugs.
love pugme. some instances when running a command such as
hubot pug me 12
etc it crashes hubot.checking out the source it pulls from the pugme service. Trying to debug why it crashes. I noticed some of the results parsed from pugme have extra html tags in the results. Those results appear infrequently but when a larger number of pugs is requested, more likelylihood of a bad url is returned.
This led me to believe it might be from pugme why the bots crashing but its just a hunch.
http://pugme.herokuapp.com/bomb?count=1000