Skip to main content

a simple web page downloader based on requests.

Project description

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)

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

simple_cookie_downloader-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_cookie_downloader-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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