question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to configure arbitrary additional CLI args for each dependency

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
piratecommented, Oct 13, 2020

leave CHECK_SSL_VALIDITY separate from the args system, because it applies to many extractors, but yeah you can make SAVE_PLAYLIST an arg.

1reaction
piratecommented, Oct 10, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found