mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-26 17:21:48 +02:00
parent
8100c77223
commit
1813a6ccd4
@ -3503,9 +3503,11 @@ def _get_automatic_captions(self, *args, **kwargs):
|
|||||||
raise NotImplementedError('This method must be implemented by subclasses')
|
raise NotImplementedError('This method must be implemented by subclasses')
|
||||||
|
|
||||||
def mark_watched(self, *args, **kwargs):
|
def mark_watched(self, *args, **kwargs):
|
||||||
if (self.get_param('mark_watched', False)
|
if not self.get_param('mark_watched', False):
|
||||||
and (self._get_login_info()[0] is not None
|
return
|
||||||
or self.get_param('cookiefile') is not None)):
|
if (self._get_login_info()[0] is not None
|
||||||
|
or self.get_param('cookiefile')
|
||||||
|
or self.get_param('cookiesfrombrowser')):
|
||||||
self._mark_watched(*args, **kwargs)
|
self._mark_watched(*args, **kwargs)
|
||||||
|
|
||||||
def _mark_watched(self, *args, **kwargs):
|
def _mark_watched(self, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user