Add ability to configure arbitrary additional CLI args for each dependency
See original GitHub issueI’m imagining a feature like this:
config.py
:
YOUTUBEDL_ARGS = ['-f', 'bestvideo[filesize<500M][height<=?480]+bestaudio/best']
...
WGET_ARGS = ['--no-warc-compression']
...
extractors/youtubedl.py
:
...
CMD = [
YOUTUBEDL_BIN,
...
*YOUTUBEDL_ARGS,
]
...
This will allow people to self-configure the extractor behavior with much more customizability, without requiring archivebox-level config flags for each separate feature.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Three Things You Didn't Know You Could Do with npm Scripts
npm scripts are a great way to automate common tasks during your Node.js development flow. In this blog post we'll cover the basics...
Read more >distutils: How to pass a user defined parameter to setup.py?
cfg configuration file to distutils' setup.py script? I want to write a setup.py script, which accepts my package specific parameters. For example: python...
Read more >Microsoft Power Platform CLI solution command group
Describes commands and parameters for the Microsoft Power Platform CLI solution command group.
Read more >picocli - a mighty tiny command line interface
The following command line arguments are all equivalent and parsing them will give ... picocli interprets all following arguments as positional parameters, ...
Read more >casey/just: Just a command runner - GitHub
Linux, MacOS, and Windows are supported with no additional dependencies. ... You can also set the shell using command-line arguments.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
leave
CHECK_SSL_VALIDITY
separate from the args system, because it applies to many extractors, but yeah you can makeSAVE_PLAYLIST
an arg.Don’t bother with the Django settings refactor for now, I have an idea of how to do it and I’d like to do it myself later on with a module re-organization. Get this one out first as it’s quite simple.