search resource by url, removing str() for encoding purposes