borisbabic / browser_cookie3

This is a fork of browser_cookie
GNU Lesser General Public License v3.0
856 stars 144 forks source link

Support for Mac version Arc browser #191

Open KingHimma opened 1 year ago

KingHimma commented 1 year ago

Only the Mac version is implemented. Linux and Windows not yet implemented

class Arc(ChromiumBased):
    """Class for Arc"""
    def __init__(self, cookie_file=None, domain_name="", key_file=None):
        args = {
            'osx_cookies': [
                '~/Library/Application Support/Arc/User Data/Default/Cookies'
            ],
            'os_crypt_name':'Arc',
            'osx_key_service' : 'Arc Safe Storage',
            'osx_key_user' : 'Arc'
        }
        super().__init__(browser='Arc', cookie_file=cookie_file, domain_name=domain_name, key_file=key_file, **args)
rafiibrahim8 commented 1 year ago

Hi, Can you create a PR?