Skip to main content

Load firefox cookies to CookieJar (requests compatible format).

Project description

Load firefox cookies to CookieJar (requests compatible format).

Install

pip install firefox_jar

Usage

import requests from firefox_jar import firefox_jar

with requests.session() as s:

s.cookies = firefox_jar()

r = s.get(’http://yandex.ru/’) assert ‘imbolc’ in r.text # check my username on the page

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page