I think Google doesn't allow certain symbols to be searched as a query.
For example & is allowed and converted to %26 and returning results
But ? without a success and ignored by Google search. Yahoo is the same
I would use a full site crawler like WinHTtrack for a small site.
It is free and allows to set scan rules for URLs what to include in searches. I am not sure but it should also allow to retrieve site index without really storing the retrieved html pages in local machine. It can be a solution for a small website both for finding broken and unwanted type links.
For huge sites like hubpages, I don't know really what to do except direct SQL db query :)