IamEld3st / youtube_dash_dl

MIT License
46 stars 8 forks source link

Added url shortcut feature #12

Closed cernyd closed 3 years ago

cernyd commented 4 years ago

Added a feature for url shortcuts, instead of supplying the full url, a shortcut name can now be supplied.

Example configuration: config.toml:

[shortcuts]

D105 = "example_url"

If you now call the program with the URL argument D105, the shortcut name will be substituted by the shortcut value example_url, if no shortcut is found, the original argument will be used.

Just remember not to accidentally push non-public urls.

IamEld3st commented 4 years ago

@cernyd Interesting idea but I don't think this feature is really fundamental or necessary for usage of this... and because I want to keep this repo as far from the usage as possible I am not liking the thought of merging this... if you have any good points about this feature please do comment. Will close PR in 14 days if no comment will be provided.