Bugfix for object has no attribute 'href' or 'url'.