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  # you should be logged in ff

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firefox_jar-0.0.2.tar.gz (2.2 kB view hashes)

Uploaded Source

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