Skip to main content

simple_cookie_downloader

a simple web page downloader based on requests.

Installation

pip install simple_cookie_downloader

Usage

from simple_cookie_downloader import get_page_with_cookie

# public url for testing
test_url = "https://httpbin.org/get"

# test cookie
test_cookies = {
    "user_session": "test_abc123",
    "token": "test_xyz789"
}

# webpage json/html text
result = get_page_with_cookie(url=test_url, cookies=test_cookies)
print(result)

Metadata

Release files for simple-cookie-downloader 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-cookie-downloader 0.1.1
File Size Uploaded
simple_cookie_downloader-0.1.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-cookie-downloader 0.1.1
File Interpreter ABI Platform
simple_cookie_downloader-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page