From 7ec328ab409064e4e81a443f84565195b1848655 Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Mon, 3 Feb 2025 16:04:36 +0100 Subject: [PATCH] Remove cookie options from generic_extractor - it now uses 'authentication' global settings :D --- .../modules/generic_extractor/__manifest__.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/auto_archiver/modules/generic_extractor/__manifest__.py b/src/auto_archiver/modules/generic_extractor/__manifest__.py index d5f363f..caa3ae1 100644 --- a/src/auto_archiver/modules/generic_extractor/__manifest__.py +++ b/src/auto_archiver/modules/generic_extractor/__manifest__.py @@ -20,6 +20,7 @@ the broader archiving framework. - Retrieves metadata like titles, descriptions, upload dates, and durations. - Downloads subtitles and comments when enabled. - Configurable options for handling live streams, proxies, and more. +- Supports authentication of websites using the 'authentication' settings from your orchestration. ### Dropins - For websites supported by `yt-dlp` that also contain posts in addition to videos @@ -29,10 +30,6 @@ custom dropins can be created to handle additional websites and passed to the ar via the command line using the `--dropins` option (TODO!). """, "configs": { - "facebook_cookie": { - "default": None, - "help": "optional facebook cookie to have more access to content, from browser, looks like 'cookie: datr= xxxx'", - }, "subtitles": {"default": True, "help": "download subtitles if available", "type": "bool"}, "comments": { "default": False, @@ -67,14 +64,5 @@ via the command line using the `--dropins` option (TODO!). "default": "inf", "help": "Use to limit the number of videos to download when a channel or long page is being extracted. 'inf' means no limit.", }, - "cookies_from_browser": { - "default": None, - "type": "str", - "help": "optional browser for ytdl to extract cookies from, can be one of: brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale", - }, - "cookie_file": { - "default": None, - "help": "optional cookie file to use for Youtube, see instructions here on how to export from your browser: https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp", - }, }, }