[GH-ISSUE #1435] Feature Request: Set default extraction methods #858

Open
opened 2026-03-01 14:46:50 +03:00 by kerem · 0 comments
Owner

Originally created by @aes on GitHub (May 22, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1435

Type

  • General question or discussion
  • Propose a brand new feature
  • Request modification of existing behavior or design

What is the problem that your feature request solves

It's annoying to have to click the select/option list every time. Friend computer deals with this, please.

Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes

Global defaults, user override, applied when presenting the UI, so as to not have any effect on API / mechanized use.

What hacks or alternative solutions have you tried to solve the problem?

Here's a Violentmonkey script that seems to work.

// ==UserScript==
// @name        Default Archivebox methods
// @namespace   Violentmonkey Scripts
// @match       https://archivebox.example.com/add/*
// @grant       none
// @version     1.0
// @author      -
// @description 2024-05-22 09:18:57
// ==/UserScript==
default_methods = [
  "favicon",
  "singlefile",
  "readability",
  "title",
]

node = document.querySelector('#id_archive_methods');
if (node) {
  [...node.children].forEach(
    o => o.selected = default_methods.find(x => x == o.value)
  )
}

How badly do you want this new feature?

  • It's an urgent deal-breaker, I can't live without it
  • It's important to add it in the near-mid term future
  • It would be nice to have eventually

  • I'm willing to contribute dev time
  • I like ArchiveBox so far / would recommend it to a friend
  • I've had a lot of difficulty getting ArchiveBox set up
    (nitpick: I would've liked the choice of public archive vs. login-to-see-anything more upfront. Idc if it's a bit involved to set up, (it's not) but the remark that it can be deployed in 'private mode' should be easier to find)
Originally created by @aes on GitHub (May 22, 2024). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1435 ## Type - [ ] General question or discussion - [x] Propose a brand new feature - [ ] Request modification of existing behavior or design ## What is the problem that your feature request solves It's annoying to have to click the select/option list every time. Friend computer deals with this, please. ## Describe the ideal specific solution you'd want, and whether it fits into any broader scope of changes Global defaults, user override, applied when presenting the UI, so as to not have any effect on API / mechanized use. ## What hacks or alternative solutions have you tried to solve the problem? Here's a Violentmonkey script that seems to work. ```javascript // ==UserScript== // @name Default Archivebox methods // @namespace Violentmonkey Scripts // @match https://archivebox.example.com/add/* // @grant none // @version 1.0 // @author - // @description 2024-05-22 09:18:57 // ==/UserScript== default_methods = [ "favicon", "singlefile", "readability", "title", ] node = document.querySelector('#id_archive_methods'); if (node) { [...node.children].forEach( o => o.selected = default_methods.find(x => x == o.value) ) } ``` ## How badly do you want this new feature? - [ ] It's an urgent deal-breaker, I can't live without it - [ ] It's important to add it in the near-mid term future - [x] It would be nice to have eventually --- - [x] I'm willing to contribute [dev time](https://github.com/ArchiveBox/ArchiveBox#archivebox-development) - [x] I like ArchiveBox so far / would recommend it to a friend - [ ] I've had a lot of difficulty getting ArchiveBox set up (nitpick: I would've liked the choice of public archive vs. login-to-see-anything more upfront. Idc if it's a bit involved to set up, (it's not) but the remark that it can be deployed in 'private mode' should be easier to find)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#858
No description provided.