A powerful CLI tool to download content from Netflix (net22.cc clone)
Reason this release was yanked:
IMPORT ISSUES
Project description
Netflix Scrapper
A powerful CLI tool to automate browser interactions, intercept stream URLs, and download media from streaming mirror sites using yt-dlp and ffmpeg.
Important Notice
- This project does not use the official Netflix API.
- The implementation targets streaming mirror sites (e.g.,
net22.cc,net51.cc) via browser automation. - Disclaimer: You are solely responsible for complying with local laws, platform Terms of Service, and copyright rules. Usage may violate applicable legislation depending on your jurisdiction.
Quick Start
1. Install System Dependencies
You must have ffmpeg and Google Chrome installed on your system.
- FFmpeg: Required to merge video and audio streams seamlessly.
- Google Chrome: Required for the browser automation engine.(Any other browser can be used too but you have to pass its flags as an argument) - see CLI flags
Installation help for FFmpeg:
- Ubuntu/Debian:
sudo apt install ffmpeg - macOS (Homebrew):
brew install ffmpeg - Windows: Download FFmpeg and add it to your system PATH.
2. Basic Installation (via Pip)
The fastest way to get started:
pip install netflix-scrapper
3. Alternative Installation (Development)
If you want to run the latest code from source:
git clone https://github.com/AliHaSSan-13/Netflix-scrapper
cd Netflix-scrapper
pip install .
4. Run the Tool
After installation, you can launch the app directly from your terminal by simply typing:
netflix-scrapper
Zero-Touch Onboarding: On the very first run, the tool automatically detects if
yt-dlpor browser binaries are missing and offers to install them for you.
Prerequisites: Authentication Cookies
✅ Ready to Go: The
cookies.jsonfile is included when you install the package viapip! The tool uses a default set of cookies out-of-the-box. NOTE: The cookies are for firefox browser only.
If the default cookies ever expire or stop working, you can update them using your own active session:
- Navigate to the mirror site (e.g.,
https://net22.cc/home). - Sign in to your account.
- Use a browser extension (like Export Cookies or similar) to export your active session cookies as JSON.
- If you haven't run the tool yet, manually create the config directory:
mkdir -p ~/.netflix-scrapper/ - Save the exported JSON file precisely at
~/.netflix-scrapper/cookies.json(overwriting the default one).
Features
- Interactive CLI: Simple question-and-answer workflow to select titles, languages, and episodes.
- Zero-Touch Onboarding: Automatic detection and installation of Chromium (default) and
yt-dlp. - Engine Selection: Toggle between
chromium,firefox, orwebkitvia flags. - Rich Progress Bars: Enhanced
tqdmbars with real-time download speed tracking. - Human Simulation: Organic mouse movements and delays to minimize bot detection.
- Smart Resume: Persisted run state allows resuming interrupted downloads.
CLI Usage & Flags
# Example: Search and run with Firefox engine
netflix-scrapper --query "Breaking Bad" --browser firefox
| Flag | Shortcut | Description |
|---|---|---|
--query |
-q |
Initial search string for title. |
--browser |
-b |
Browser engine (chromium, firefox, webkit). |
--headless |
Run without a visible browser window. | |
--output |
-o |
Default download directory path. |
--config |
-c |
Path to a custom config.yaml. |
Configuration
Settings are stored in ~/.netflix-scrapper/config.yaml. You can customize selectors, timeouts, and network interception rules there.
Troubleshooting
ffmpegnot found: Ensureffmpegis in your systemPATH.- Browser launch failure: Run
playwright installor allow the tool to auto-install. - Verification Loop: If blocked, run with
--no-headlessto manually complete the verification if the simulator fails.
License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
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 netflix_scrapper-1.0.6.tar.gz.
File metadata
- Download URL: netflix_scrapper-1.0.6.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3614227ce39b395bb83649b8db13defe9e2a941070c6703812989ae4928b219f
|
|
| MD5 |
325a228a88182c6832beced04af181bf
|
|
| BLAKE2b-256 |
8c9091a7f00769c315bc7f994084edbd41fedface7a8ee02a1769a8fc6863578
|
Provenance
The following attestation bundles were made for netflix_scrapper-1.0.6.tar.gz:
Publisher:
publish.yml on AliHaSSan-13/Netflix-scrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netflix_scrapper-1.0.6.tar.gz -
Subject digest:
3614227ce39b395bb83649b8db13defe9e2a941070c6703812989ae4928b219f - Sigstore transparency entry: 1004782666
- Sigstore integration time:
-
Permalink:
AliHaSSan-13/Netflix-scrapper@d39c8e77de8cb5908a4ca93de82f2b4c9b6c8cf4 -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/AliHaSSan-13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d39c8e77de8cb5908a4ca93de82f2b4c9b6c8cf4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file netflix_scrapper-1.0.6-py3-none-any.whl.
File metadata
- Download URL: netflix_scrapper-1.0.6-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8439fca28b360ed09aa81b415163d004d3987580b823b855b1d5c0a98f4fd3
|
|
| MD5 |
39392f2d585a845f47b0be35a285dda9
|
|
| BLAKE2b-256 |
13844c3db5fede133414420593a4af4dbf4d1a8ee17d337e777ed01b51587c79
|
Provenance
The following attestation bundles were made for netflix_scrapper-1.0.6-py3-none-any.whl:
Publisher:
publish.yml on AliHaSSan-13/Netflix-scrapper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netflix_scrapper-1.0.6-py3-none-any.whl -
Subject digest:
ad8439fca28b360ed09aa81b415163d004d3987580b823b855b1d5c0a98f4fd3 - Sigstore transparency entry: 1004782667
- Sigstore integration time:
-
Permalink:
AliHaSSan-13/Netflix-scrapper@d39c8e77de8cb5908a4ca93de82f2b4c9b6c8cf4 -
Branch / Tag:
refs/tags/v1.0.6 - Owner: https://github.com/AliHaSSan-13
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d39c8e77de8cb5908a4ca93de82f2b4c9b6c8cf4 -
Trigger Event:
push
-
Statement type: