lib/video_info/providers/vimeo.rb in video_info-1.3.0 vs lib/video_info/providers/vimeo.rb in video_info-1.3.1

- old
+ new

@@ -10,10 +10,10 @@ end private def _url_regex - /.*\.com\/(?:groups\/[^\/]+\/videos\/)?([0-9]+).*$/i + /.*\.com\/(?:(?:groups\/[^\/]+\/videos\/)|(?:video\/))?([0-9]+).*$/i end def _set_info_from_api uri = open("http://vimeo.com/api/v2/video/#{video_id}.json", options) video = MultiJson.load(uri.read).first