def service_endpoint url
      endpoint = LIST.find do |(pattern, endpoint)|
        url =~ pattern
      end
      endpoint ? endpoint.last : false
    end
def service_endpoint url
      endpoint = LIST.find do |(pattern, endpoint)|
        url =~ pattern
      end
      endpoint ? endpoint.last : false
    end
Locate the correct service endpoint for the given resource URL.

 @param url [String] a fully-qualified URL to an oembeddable resource

 @return the url, or false if no known endpoint.