Commits

Davide Alberani committed c37f019 Merge

Merge pull request #4 from haukurpallh/master

search_movie bug fixed

Comments (0)

Files changed (1)

imdb/parser/http/__init__.py

                 except Exception, e:
                     pass
         ##params = 'q=%s&%s=on&mx=%s' % (quote_plus(ton), kind, str(results))
-        params = 'q=%s;s=%s;mx=%s' % (quote_plus(ton), kind, str(results))
+        params = 'q=%s&s=%s&mx=%s' % (quote_plus(ton), kind, str(results))
         if kind == 'ep':
             params = params.replace('s=ep;', 's=tt;ttype=ep;', 1)
         cont = self._retrieve(self.urls['find'] % params)
             return cont
         # The retrieved page contains no results, because too many
         # titles or names contain the string we're looking for.
-        params = 'q=%s;ls=%s;lm=0' % (quote_plus(ton), kind)
+        params = 'q=%s&ls=%s&lm=0' % (quote_plus(ton), kind)
         size = 131072 + results * 512
         return self._retrieve(self.urls['find'] % params, size=size)