Refactoring of HTMLParser to avoid duplicate urls in pin_find.