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.3.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file firefox_jar-0.0.3.tar.gz.

File metadata

  • Download URL: firefox_jar-0.0.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for firefox_jar-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2cfbe490d026961ecd9476bd30e608ecb598f914053c7d17aaaae706836dc492
MD5 24db608febfe570265db24e45f52a6fe
BLAKE2b-256 fda0217da76a16b25349f333c8920264381d24cee66f4e02d1697e2bf9a8516e

See more details on using hashes here.

Supported by

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