def get_url_data(self, url):
        parsed = urlparse.urlsplit(url)
        if parsed.scheme in ('http', 'https'):
            if (parsed.netloc in ('www.youtube.com', 'youtube.com') and
                ('/watch', '/watch/') in parsed.path):
                qsd = urlparse.parse_qs(parsed.query)
                try:
                    return {
                        'video_id': qsd['v'][0]
                    }
                except (KeyError, IndexError):
                    pass
            elif parsed.netloc == 'youtu.be':
                match = self.short_path_re.match(parsed.path)
                if match:
                    return match.groupdict()
        raise UnhandledVideo(url)
dataset/ETHPy150Open pculture/vidscraper/vidscraper/suites/youtube.py/PathMixin.get_url_data/swapped operands of `in`