ShadowSurf
ShadowSurf adalah library otomatisasi browser berbasis Python yang sangat ringan (lightweight) dan tidak terdeteksi (undetectable). Didesain sebagai alternatif untuk Selenium dan Playwright yang sering diblokir oleh anti-bot modern (seperti Cloudflare, Datadome, reCAPTCHA).
Fitur Utama
- No Bundled Binaries: Menggunakan Chrome yang sudah terinstal di perangkat Anda.
- Native CDP (WebSockets): Koneksi langsung ke Chrome tanpa melalui ekstensi WebDriver.
- No Automation Flags: Berjalan murni seperti pengguna biasa, tanpa pesan peringatan otomasi.
- Pre-Document Stealth: Menyuntikkan manipulasi JS (stealth.js) sebelum website memuat untuk membypass deteksi
navigator.webdriverdan proteksi lainnya.
Instalasi
Anda bisa menginstal library ini secara lokal dengan perintah:
pip install .
Contoh Penggunaan (YouTube Viewer)
import asyncio
from shadowsurf import launch
async def view_youtube():
browser = await launch(headless=False)
page = await browser.new_page()
await page.goto("https://www.youtube.com/watch?v=LXb3EKWsInQ")
await asyncio.sleep(30)
await page.close()
browser.close()
asyncio.run(view_youtube())
Metadata
Release files for shadowsurf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shadowsurf-0.1.1.tar.gz | 5.0 kB | Without provenance | Details for shadowsurf-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shadowsurf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for shadowsurf-0.1.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / shadowsurf-0.1.1.tar.gz
| Download URL | shadowsurf-0.1.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c46cb8e7472650425415dc6a99b9cff868a4a891bd557c9ee23322c19fae1c46
|
|
BLAKE2b-256 checksum How to use checksums |
1b7e2ae69b053c4957e7462b914e6245d48e6bb476e5d7738c778ad12a27e03e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / shadowsurf-0.1.1-py3-none-any.whl
| Download URL | shadowsurf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66008a73848db6b43a5f2743a6879663ed62fed52ed38b6010fee4c0268a0557
|
|
BLAKE2b-256 checksum How to use checksums |
f09a478c6f2fe4c6fce4755f5729965089df840dbae229b55c659079e8e26232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Security for shadowsurf 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.