Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change the default archive methods on web frontend / CLI when I select nothing? #826

Open
WantToLearnJapanese opened this issue Aug 13, 2021 · 3 comments
Labels
expected: maybe someday help wanted size: medium status: idea-phase Work is tentatively approved and is being planned / laid out, but is not ready to be implemented yet touches: API/CLI/user interface touches: configuration type: enhancement why: functionality Intended to improve ArchiveBox functionality or features

Comments

@WantToLearnJapanese
Copy link

Currently behavior: archive methods (select at least 1, otherwise all will be used by default)
Expected behavior: Configurable default options when I choose nothing.

I know: I can opt-out methods by set SAVE_* as False.
=> But: It just disables the functionality. If I SAVE_PDF=False, even I select pdf, Archivebox does nothing.

@WantToLearnJapanese
Copy link
Author

WantToLearnJapanese commented Aug 13, 2021

  • I propose to add the config option to set a list of defaults methods (which could be passed to the "extractors" argument of this function.

@pirate pirate added status: idea-phase Work is tentatively approved and is being planned / laid out, but is not ready to be implemented yet size: medium touches: configuration why: functionality Intended to improve ArchiveBox functionality or features help wanted touches: API/CLI/user interface type: enhancement expected: maybe someday labels Jan 19, 2024
@pirate
Copy link
Member

pirate commented Jan 19, 2024

Can't promise I'll get around to adding this myself anytime soon, but I'd be down to review PRs to add a DEFAULT_EXTRACTORS option that takes a CSV of extractor names to enable by default.

It should modify the archivebox add, archivebox schedule, and /add/ interaces to use that set by default, but still allow overriding with --extract=somedisableddextractor,etc or by choosing in the UI list.

@pirate
Copy link
Member

pirate commented Jan 19, 2024

Related: #881

@pirate pirate changed the title How can I change the archive methods on web frontend when I select nothing? How can I change the default archive methods on web frontend / CLI when I select nothing? Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expected: maybe someday help wanted size: medium status: idea-phase Work is tentatively approved and is being planned / laid out, but is not ready to be implemented yet touches: API/CLI/user interface touches: configuration type: enhancement why: functionality Intended to improve ArchiveBox functionality or features
Projects
None yet
Development

No branches or pull requests

2 participants