AnantLabs / oohembed

Automatically exported from code.google.com/p/oohembed
Other
0 stars 0 forks source link

some metacafe urls return bad responses #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The front page of metacafe has some videos with more exotic urls than 
are standard. This one, for example: http://www.metacafe.com/watch/cb-
4wyzfz4L9Av3PzI8BTmhMvt0JSNXTc4G/leadbetters_tips_posture/
2. I'm using the above url in this request:
http://oohembed.com/oohembed/?
format=json&url=http%3A%2F%2Fwww.metacafe.com%2Fwatch%2Fcb-
1HLReZ5qjkgIn6WvL0_IAruqth9Ki2Tx%2Fthe_amazing_race_14_phil_rides_across_am
erica_highlights_season_14%2F

What is the expected output? What do you see instead?
I expect a json response, but am getting a 404 instead:

HTTP/1.1 404 Not Found
Cache-Control: no-cache
Content-Type: application/json
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Wed, 12 Aug 2009 16:43:33 GMT
Server: Google Frontend
Transfer-Encoding: chunked

Could not determine suitable representation for queried URL

Original issue reported on code.google.com by jamesbel...@gmail.com on 12 Aug 2009 at 4:54

GoogleCodeExporter commented 8 years ago

Original comment by deepak.s...@gmail.com on 19 Aug 2009 at 11:50

GoogleCodeExporter commented 8 years ago
Fixed in r211a51e81d

Original comment by deepak.s...@gmail.com on 20 Aug 2009 at 2:31