Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
refactor: drop support for all chromium based browsers on Windows (#565)
NTFSvolume40a20d3f99a4
diff --git a/cyberdrop_dl/utils/cookie_management.py b/cyberdrop_dl/utils/cookie_management.pyindex e6d382084..f500b31f5 100644--- a/cyberdrop_dl/utils/cookie_management.py+++ b/cyberdrop_dl/utils/cookie_management.py@@ -20,6 +20,7 @@ if TYPE_CHECKING:console = Console()COOKIE_ERROR_FOOTER = "\n\nNothing has been saved."+CHROMIUM_BROWSERS = ["chrome", "chromium", "opera", "opera_gx", "brave", "edge", "vivaldi", "arc"]class UnsupportedBrowserError(browser_cookie3.BrowserCookieError):@@ -114,8 +115,8 @@ def clear_cookies(manager: Manager, domains: list[str] | None = None) -> None:def check_unsupported_browser(error: browser_cookie3.BrowserCookieError, extractor_name: str) -> None:msg = str(error)- if is_decrypt_error(msg) and extractor_name == "chrome" and os.name == "nt":- msg = f"Cookie extraction from Chrome is not supported on Windows - {msg}"+ if is_decrypt_error(msg) and extractor_name in CHROMIUM_BROWSERS and os.name == "nt":+ msg = f"Cookie extraction from {extractor_name.capitalize()} is not supported on Windows - {msg}"raise UnsupportedBrowserError(msg)diff --git a/docs/reference/configuration-options/settings/browser_cookies.md b/docs/reference/configuration-options/settings/browser_cookies.mdindex 7e74ca222..3486fb345 100644--- a/docs/reference/configuration-options/settings/browser_cookies.md+++ b/docs/reference/configuration-options/settings/browser_cookies.md@@ -25,19 +25,19 @@ List of browsers to use for extraction. Each item must be a supported browser's### Supported Browsers| Browser | Windows | Linux | MacOS |-|-----------|--------------------|--------------------|--------------------|+| --------- | ------------------ | ------------------ | ------------------ || Arc | :x: | :x: | :white_check_mark: |-| Brave | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Brave | :x: | :white_check_mark: | :white_check_mark: || Chrome | :x: | :white_check_mark: | :white_check_mark: |-| Chromium | :white_check_mark: | :white_check_mark: | :white_check_mark: |-| Edge | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Chromium | :x: | :white_check_mark: | :white_check_mark: |+| Edge | :x: | :white_check_mark: | :white_check_mark: || Firefox | :white_check_mark: | :white_check_mark: | :white_check_mark: || LibreWolf | :white_check_mark: | :white_check_mark: | :white_check_mark: || Lynx | :x: | :white_check_mark: | :x: |-| Opera | :white_check_mark: | :white_check_mark: | :white_check_mark: |-| Opera_GX | :white_check_mark: | :x: | :white_check_mark: |+| Opera | :x: | :white_check_mark: | :white_check_mark: |+| Opera_GX | :x: | :x: | :white_check_mark: || Safari | :x: | :x: | :white_check_mark: |-| Vivaldi | :white_check_mark: | :white_check_mark: | :white_check_mark: |+| Vivaldi | :x: | :white_check_mark: | :white_check_mark: || W3M | :x: | :white_check_mark: | :x: |