A FlareSolverr wrapper for Python.
Project description
FSPy
An easy to use FlareSolverr wrapper for Python.
Usage
from fspy import FlareSolverr
solver = FlareSolverr()
# With custom ip and port
solver = FlareSolverr(host="127.0.0.1", port="5050")
# With https
solver = FlareSolverr(http_schema="https")
# If you want some additional headers
headers = {
"Connection": "keep-alive"
}
solver = FlareSolverr(additional_headers=headers)
# When (for whatever the reason) flaresolverr changes /v1 endpoint
solver = FlareSolverr(v="v2")
# List all session ids
sessions = solver.sessions
# List sessions response
sessions = solver._sessions_raw
# Create a session with a random UUID
new_session = solver.create_session()
# Create a session with a custom id and proxy
new_session = solver.create_session(session_id="thisismyid", proxy_url="http://thisismycustomproxyurl.uwu")
# Delete a session
response = solver.destroy_session("thisismyid")
# Get request
response = solver.request_get("https://google.com")
# All flaresolverr additional args are supported
# Post request
params = {
"param1": "value1",
"param2": 2,
"param3": [3, 3, 3]
}
response = solver.request_post("https://google.com", params)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fspy-0.4.0.tar.gz.
File metadata
- Download URL: fspy-0.4.0.tar.gz
- Upload date:
- Size: 43.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b571d8566c3351af47a2de309f196961a28f147ee07024075a026fc472d1c6e
|
|
| MD5 |
379e9f095f45620064242234e391e472
|
|
| BLAKE2b-256 |
3c0df7de32f78186327e28fcf72e39db1832ae428a54d20e0ed9e2c33d9cf900
|
Provenance
The following attestation bundles were made for fspy-0.4.0.tar.gz:
Publisher:
python-publish.yml on NandeMD/FSPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fspy-0.4.0.tar.gz -
Subject digest:
4b571d8566c3351af47a2de309f196961a28f147ee07024075a026fc472d1c6e - Sigstore transparency entry: 145473960
- Sigstore integration time:
-
Permalink:
NandeMD/FSPy@a664152c72944493132eada85de590e6e3e2d7c0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NandeMD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a664152c72944493132eada85de590e6e3e2d7c0 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fspy-0.4.0-py2.py3-none-any.whl.
File metadata
- Download URL: fspy-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
035107f2bd927fd05e2d8a28a00fd3d6973fbcc63252cc9b7906f639d47a410d
|
|
| MD5 |
35996c97d452082bff5b91f170035d2e
|
|
| BLAKE2b-256 |
80db715d8e6b0a55a501393d13ef5f6e5bdd9253bd683f386f71955f9d550908
|
Provenance
The following attestation bundles were made for fspy-0.4.0-py2.py3-none-any.whl:
Publisher:
python-publish.yml on NandeMD/FSPy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fspy-0.4.0-py2.py3-none-any.whl -
Subject digest:
035107f2bd927fd05e2d8a28a00fd3d6973fbcc63252cc9b7906f639d47a410d - Sigstore transparency entry: 145473961
- Sigstore integration time:
-
Permalink:
NandeMD/FSPy@a664152c72944493132eada85de590e6e3e2d7c0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/NandeMD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@a664152c72944493132eada85de590e6e3e2d7c0 -
Trigger Event:
workflow_dispatch
-
Statement type: