def mark_watched(self, *args, **kwargs):
    if (self._downloader.params.get('mark_watched', False) and ((self._get_login_info()[0] is not None) or (self._downloader.params.get('cookiefile') is not None))):
        self._mark_watched(*args, **kwargs)
def mark_watched(self, *args, **kwargs):
    if (self._downloader.params.get('mark_watched', False) and ((self._get_login_info()[0] is not None) or (self._downloader.params.get('cookiefile') is not None))):
        self._mark_watched(*args, **kwargs)