n8henrie / pycookiecheat

Borrow cookies from your browser's authenticated session for use in Python scripts.
https://n8henrie.com/2013/11/use-chromes-cookies-for-easier-downloading-with-python-requests/
MIT License
744 stars 111 forks source link

Removed teh Profile directory from the Firefox root dir #68

Closed MattMuffin closed 2 weeks ago

MattMuffin commented 3 months ago

Works on MacOS 14.6.1

NB: Please make an issue prior to embarking on any significant effort towards a pull request. This will serve as a unified place for discussion and hopefully make sure that the change seems reasonable to merge once its implementation is complete.

Description

MacOs stores Firefox profiles.ini under ~/Library/Application Support/Firefox and not ~/Library/Application Support/Firefox/Profiles

MacOs version: 14.6.1 Firefox Version: 129.0.1

Status

READY/IN DEVELOPMENT

Todos

n8henrie commented 3 months ago

Interesting, thanks for the PR.

This worked before, but I'm seeing an error now, so I'm guessing FF changed? I'm on 129.

@grandchild wrote most of this code -- are you also seeing an error? We might need to do some kind of conditional check based on version (or perhaps just check both -- first the more modern location and then the legacy location).

grandchild commented 2 months ago

Ah, interesting. Will make a different PR to fix this more in-depth, if that's okay with you, @MattMuffin?

MattMuffin commented 2 months ago

@grandchild yes that's fine, I won't hold grudges :)