@staticmethod
def raise_login_required(msg='This video is only available for registered users'):
    raise ExtractorError(('%s. Use --username and --password or --netrc to provide account credentials.' % msg), expected=True)
@staticmethod
def raise_login_required(msg='This video is only available for registered users'):
    raise ExtractorError(('%s. Use --username and --password or --netrc to provide account credentials.' % msg), expected=True)