Skip to main content

selenium-fetch (This project has been moved to fetchdriver)

A simple module that lets you access the fetch API with selenium!

Why do I make this? just annoyed with cloudflare. It works best with undetected-chromedriver.

Installation

pip install selenium-fetch undetected-chromedriver

Example

from undetected_chromedriver import Chrome
from selenium_fetch import fetch, Options, get_browser_user_agent

LOGIN_PAGE_URL = "https://smekdong.com/login"
LOGIN_API_URL = "https://smekdong.com/api/login"
driver = Chrome(headless=False)
driver.get(LOGIN_PAGE_URL)
post_data = {
    'username': 'blaabla',
    'password': 'xxxx'
}
headers = {
    "user-agent": get_browser_user_agent(driver),
    'origin': 'https://smekdong.com',
    'referer': 'https://smekdong.com/',
}
options = Options(method="POST", headers=headers, body=post_data)
response = fetch(driver, LOGIN_API_URL, options)
print("Response:", response)

Metadata

Release files for selenium-fetch 0.1.2

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

Source distribution (sdist)

Source distribution for selenium-fetch 0.1.2
File Size Uploaded Provenance Actions
selenium_fetch-0.1.2.tar.gz 3.3 kB With provenance Details for selenium_fetch-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for selenium-fetch 0.1.2
File Interpreter ABI Platform Actions
selenium_fetch-0.1.2-py3-none-any.whl Python 3 none any Details for selenium_fetch-0.1.2-py3-none-any.whl

Total release size: 7.4 kB

Release files / selenium_fetch-0.1.2.tar.gz

Download URL selenium_fetch-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
469af2c5580d30e1e9e70d39b9c4b7f2b09571e2389654eedd04a297ae93e0a6
BLAKE2b-256 checksum
How to use checksums
2d4536727382ba0577191849e9280939d64583f37a578252166997a772a89c0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / selenium_fetch-0.1.2-py3-none-any.whl

Download URL selenium_fetch-0.1.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22b4e9051f856672cbef9c8772a442b84e2f3cdc20d3e7d73a384a742f8343e3
BLAKE2b-256 checksum
How to use checksums
c8496935938ce421944c4c03e4e4b22575cf62570aa97f417e7322e0603504cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Security for selenium-fetch 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for selenium_fetch-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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