This commit is contained in:
Jesse Bannon 2024-01-05 12:33:52 -08:00
parent 1fedb53b5e
commit fc88390209
2 changed files with 1 additions and 17 deletions

View file

@ -116,23 +116,6 @@ class BaseEntry(ABC):
"""
return self._working_directory
def add_kwargs(self, variables_to_add: Dict[str, Any]) -> "BaseEntry":
"""
Adds variables to kwargs. Use with caution since yt-dlp data can be overwritten.
Plugins should use ``add_variables``.
Parameters
----------
variables_to_add
Variables to add to kwargs
Returns
-------
self
"""
self._kwargs = dict(self._kwargs, **variables_to_add)
return self
def get_download_info_json_name(self) -> str:
"""
Returns

View file

@ -78,6 +78,7 @@ class SubscriptionYTDLOptions:
"skip_download": True,
"writethumbnail": False,
"writeinfojson": True,
"extract_flat": "discard", # do not store info.json in mem since its in file
}
@property