diff --git a/docs/source/how_to/authentication_how_to.md b/docs/source/how_to/authentication_how_to.md index 334c9ac..60f237a 100644 --- a/docs/source/how_to/authentication_how_to.md +++ b/docs/source/how_to/authentication_how_to.md @@ -164,8 +164,8 @@ See the [bgutil-ytdlp-pot-provider](https://github.com/Brainicism/bgutil-ytdlp-p ## Configurations Summary | Option | Behavior | Docker Default? | -| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------- | -| `default` | Docker: Automatically downloads and uses the token generation script. Local: Does nothing; assumes a separate server is running externally. | ✅ Yes | +|------------| ------------------------------------------------------------------------------------------------------------------------------------------ | --------------- | +| `auto` | Docker: Automatically downloads and uses the token generation script. Local: Does nothing; assumes a separate server is running externally. | ✅ Yes | | `script` | Explicitly downloads and uses the token generation script, even locally. | ❌ No | | `disabled` | Disables token generation completely. | ❌ No | @@ -176,6 +176,9 @@ Example configuration: generic_extractor: # ... bguils_po_token_method: "script" + # For debugging add the verbose flag here: + ytdlp_args: "--no-abort-on-error --abort-on-error --verbose" + ``` **Advanced Configuration:** diff --git a/src/auto_archiver/modules/generic_extractor/__manifest__.py b/src/auto_archiver/modules/generic_extractor/__manifest__.py index f34151c..b734421 100644 --- a/src/auto_archiver/modules/generic_extractor/__manifest__.py +++ b/src/auto_archiver/modules/generic_extractor/__manifest__.py @@ -75,9 +75,9 @@ If you are having issues with the extractor, you can review the version of `yt-d "help": "Use to limit the number of videos to download when a channel or long page is being extracted. 'inf' means no limit.", }, "bguils_po_token_method": { - "default": "default", + "default": "auto", "help": "Set up a Proof of origin token provider. This process has additional requirements. See [authentication](https://auto-archiver.readthedocs.io/en/latest/how_to/authentication_how_to.html) for more information.", - "choices": ["default", "script", "disabled"], + "choices": ["auto", "script", "disabled"], }, "extractor_args": { "default": {}, diff --git a/src/auto_archiver/modules/generic_extractor/generic_extractor.py b/src/auto_archiver/modules/generic_extractor/generic_extractor.py index 88f7b38..e56167a 100644 --- a/src/auto_archiver/modules/generic_extractor/generic_extractor.py +++ b/src/auto_archiver/modules/generic_extractor/generic_extractor.py @@ -88,7 +88,7 @@ class GenericExtractor(Extractor): logger.warning("Proof of Origin Token generation is disabled.") return - if self.bguils_po_token_method == "default" and not in_docker: + if self.bguils_po_token_method == "auto" and not in_docker: logger.info( "Proof of Origin Token method not explicitly set. " "If you're running an external HTTP server separately, you can safely ignore this message. "