def youtube_channel_extract(self):
        """
        Examples:
        - UCJAVLOqT6Mgn_YD5lAxxkUA
        - https://www.youtube.com/channel/UCJAVLOqT6Mgn_YD5lAxxkUA
        - something_wrong}[youtube.com/channel/UCJAVLOqT6Mgn_YD5lAxxkUA
        """
        string = self.youtube_channel.data.strip()
        position = string.find('youtube.com')
        if position != -1:
            path = urlparse(string[position:]).path.split('/')
            if 3 < len(path) or path[1] != "channel":
                return None
            else:
                string = path[2]

        return string if len(string) == 24 and re.match(r'[\w-]*$', string) or string == '' else None
dataset/ETHPy150Open WatchPeopleCode/WatchPeopleCode/wpc/forms.py/EditStreamerInfoForm.youtube_channel_extract/swapped operands of `<`