ytdl_subscribe.cli package
Submodules
ytdl_subscribe.cli.download_args_parser module
- class ytdl_subscribe.cli.download_args_parser.DownloadArgsParser(extra_arguments: List[str])
Bases:
object‘Extra’ arguments can be given to ytdl-sub dl which are meant to represent fields in a subscription yaml. This class will convert those extra args into a dict that can be passed in to instantiate a
PresetValidator- get_args_hash() str
- Returns
Hash of the arguments provided
- to_subscription_dict() Dict
Converts the extra arguments into a dict equivalent to a subscription yaml. :return: dict containing argument names and values