lib/onebox/engine/college_humor_onebox.rb in onebox-1.0.1 vs lib/onebox/engine/college_humor_onebox.rb in onebox-1.1.0

- old
+ new

@@ -3,11 +3,12 @@ class CollegeHumorOnebox include Engine include OpenGraph matches do - # /^https?:\/\/www.collegehumor.com\/video\/.*$/ - find "collegehumor.com" + http + domain("collegehumor") + has(".com").maybe("/video").maybe("/") end private def data