def METHOD_NAME(self, payload):
    for _ in range(5):
        self.requests.post(f'{self.base_url}/forum/login.php', data=payload)
        if self.requests.cookies and len(self.requests.cookies) > 0:
            return self.requests.cookies
        else:
            sleep(3)
    raise PluginError('unable to obtain cookies from rutracker')