def worker(self, name, url):
        try:
            if url.startswith(self.base_link):
                url = self.resolve(url)
                if url == None: raise Exception()
                return url
            elif not url.startswith('http://'):
                url = url % self.youtube_watch
                url = self.resolve(url)
                if url == None: raise Exception()
                return url
            else:
                raise Exception()
        except:
            query = name + ' trailer'
            query = self.youtube_search + query
            url = self.search(query)
            if url == None: return
            return url
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.specto/resources/lib/libraries/trailer.py/trailer.worker/swapped operands of `%`