def resolve(self, url):
        try:
            url = urlparse.urlparse(url).path

            result = ''
            links = [self.link_1, self.link_2, self.link_3]
            for base_link in links:
                result = client.request(urlparse.urljoin(base_link, url), headers=self.headers)
                if str(result) in 'frame': break
            #print("Result >>> result",result)
            url = re.compile('class=[\'|\"]*frame.+?src=[\'|\"|\s|\<]*(.+?)[\'|\"|\s|\>]').findall(result)[0]
            url = client.replaceHTMLCodes(url)
            print("Result >>> url",url)
            try: url = urlparse.parse_qs(urlparse.urlparse(url).query)['u'][0]
            except: pass
            try: url = urlparse.parse_qs(urlparse.urlparse(url).query)['url'][0]
            except: pass
            print("Result >>> url2 >>>>>>>>>>>>>>>>>>>>",url)

            url = resolvers.request(url)
            print("Result >>> url3 +++++++++++++++++++++",url)

            return url
        except:
            return
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.specto/resources/lib/sources/iwatchonline_mv_tv.py/source.resolve/swapped operands of `in`