After taking in your input, I'd like you to consider this revised patch. I've cleaned up the scraping and set it up to fallback to old behaviour if it can't find an intelligent and resonable default.