discard
This commit is contained in:
parent
1fedb53b5e
commit
fc88390209
2 changed files with 1 additions and 17 deletions
|
|
@ -116,23 +116,6 @@ class BaseEntry(ABC):
|
||||||
"""
|
"""
|
||||||
return self._working_directory
|
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:
|
def get_download_info_json_name(self) -> str:
|
||||||
"""
|
"""
|
||||||
Returns
|
Returns
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@ class SubscriptionYTDLOptions:
|
||||||
"skip_download": True,
|
"skip_download": True,
|
||||||
"writethumbnail": False,
|
"writethumbnail": False,
|
||||||
"writeinfojson": True,
|
"writeinfojson": True,
|
||||||
|
"extract_flat": "discard", # do not store info.json in mem since its in file
|
||||||
}
|
}
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue