IMDb scope does not return any results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity IMDb Scope |
New
|
Undecided
|
Unassigned |
Bug Description
I don't see any results from the IMDb scope. Looking at the debug messages, it seems that IMDb is refusing the requests. I tried the request that the scope is performing and see the same:
$ curl -k -D- https:/
HTTP/1.0 403 Forbidden
Content-Type: application/xml
Content-Length: 231
Connection: keep-alive
Date: Tue, 30 Apr 2013 22:37:04 GMT
Server: AmazonS3
Age: 259
Via: 1.0 3c15da33a3621b2
X-Cache: Error from cloudfront
X-Amz-Cf-Id: rNocYTJSoI76UwZ
<?xml version="1.0" encoding="UTF-8"?>
<Error>
affects: | ubuntu-scopes → unity-scope-imdb |
Through experimentation, it seems to give results for queries of 4 characters or less.
I haven't checked extensively, but perhaps they are pregenerating results for these prefixes rather than being a general search interface. If this is the case, then we should truncate the search string we send to the API and then maybe manually narrow the results.