Skip to content

Commit

Permalink
Merge pull request #623 from adoxa/imdb-q
Browse files Browse the repository at this point in the history
[imdb] Fix a query issue
  • Loading branch information
jbleyel authored Oct 17, 2023
2 parents 50dd022 + 2327ce1 commit 4a3b224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imdb/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def getIMDB(self, search=False):

if self.eventName:
self["statusbar"].setText(_("Query IMDb: %s") % self.eventName)
fetchurl = "https://www.imdb.com/find?q=" + quoteEventName(self.eventName) + "&s=tt"
fetchurl = "https://www.imdb.com/find?s=tt&q=" + quoteEventName(self.eventName)
# print("[IMDB] getIMDB() Downloading Query", fetchurl)
download = getPage(fetchurl, cookies=self.cookie)
download.addCallback(self.IMDBquery).addErrback(self.http_failed)
Expand Down

0 comments on commit 4a3b224

Please sign in to comment.