Skip to content

--cookies-from-browser for a chrome/firefox like browser or non-default install location #2903

Description

@TheBluuDot

Checklist

Description

The command --cookies-from-browser works fine on regular Opera but it does not support Opera GX. Opera GX support only requires a few additions in cookies.py to look in Opera Software\Opera GX Stable similar to how regular Opera is dealt with. This will allow Opera GX users like me to be able to avoid having to extract cookies manually every time.

Activity

  1. pukkandan commented on Feb 27, 2022

    @pukkandan
    Member

    Assuming opera and GX store cookies similarly, You can do --cookies-from-browser "opera:path/to/gx/profile". This allows us to not have to support the different variants of each browser explicitly. Let me know if this works

  2. TheBluuDot commented on Feb 27, 2022

    @TheBluuDot
    Author

    Oh nice it works. Thanks a lot.

  3. added and removed
    enhancementNew feature or request
    triageUntriaged issue
    on Mar 24, 2022
  4. changed the title [-]Loading Cookies from Opera GX using --cookies-from-browser[/-] [+]--cookies-from-browser for a chrome/firefox like browser[/+] on Mar 24, 2022
  5. changed the title [-]--cookies-from-browser for a chrome/firefox like browser[/-] [+]--cookies-from-browser for a chrome/firefox like browser or non-default install location[/+] on Feb 10, 2023
  6. ACR-Jeff commented on Aug 21, 2024

    @ACR-Jeff

    Assuming opera and GX store cookies similarly, You can do --cookies-from-browser "opera:path/to/gx/profile". This allows us to not have to support the different variants of each browser explicitly. Let me know if this works

    I know this is old but just wanted to say your instructions helped solve my issue with Librewolf with a bit of adjustment
    --cookies-from-browser "Firefox:path/to/.librewolf
    Maybe it will help others out.

  7. added
    core:cookiesRelated to core cookie handling (e.g. --cookies or --cookies-from-browser)
    on Nov 21, 2024
  8. PrivacyFriendlyMuffins commented on Apr 11, 2025

    @PrivacyFriendlyMuffins

    Assuming opera and GX store cookies similarly, You can do --cookies-from-browser "opera:path/to/gx/profile". This allows us to not have to support the different variants of each browser explicitly. Let me know if this works

    I know this is old but just wanted to say your instructions helped solve my issue with Librewolf with a bit of adjustment --cookies-from-browser "Firefox:path/to/.librewolf Maybe it will help others out.

    I believe I'm doing this wrong but I'm not sure how.

    I typed into terminal yt-dlp --cookies-from-browser "Firefox:/home/{username}/.librewolf/" and it just gave me the standard error message.

     


    • Linux Mint 22.1 Cinnamon
  9. gamer191 commented on Apr 11, 2025

    @gamer191
    Member

    @PrivacyFriendlyMuffins instructions to find Librewolf’s directory can be found at #12120 (comment)

  10. PrivacyFriendlyMuffins commented on Apr 14, 2025

    @PrivacyFriendlyMuffins

    Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core:cookiesRelated to core cookie handling (e.g. --cookies or --cookies-from-browser)questionQuestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions