# Netflix Videos Downloader
This tool allows you to download videos, subtitles, and audio from Netflix for offline viewing. With a range of customizable options, you can tailor your downloads to suit your preferences.
## Table of Contents
1. [Installation](#installation)
2. [Dependencies](#dependencies)
3. [Configuring Your Account](#configuring-your-account)
4. [Installing Required Extensions](#installing-required-extensions)
5. [Usage](#usage)
- [Downloading Videos](#downloading-videos)
- [Downloading Subtitles](#downloading-subtitles)
- [Downloading Audio](#downloading-audio)
6. [Troubleshooting](#troubleshooting)
7. [Advanced Options](#advanced-options)
## Installation
1. **Install Python 3.10.0:** Download the [Python 3.10.0 installer](https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe) and make sure to add Python to your PATH during installation.
2. **Add Python to PATH:** If you're unsure how to add Python to your PATH, follow the steps outlined [here](https://datatofish.com/add-python-to-windows-path/).
3. **Install Dependencies:** Open a terminal and navigate to the project folder. Run the following command to install the required dependencies:
```sh
pip install -r requirements.txt
Alternatively, you can use the provided batch script:
install.requirements.bat
Configuring Your Account
Navigate to the folder Netflix-videos-downloader-main\configs.
Open config.py with a text editor like Notepad++.
Locate the lines that need your email and password for your Netflix account:
"email": "enter your email address here", # Enter the email address of your Netflix account here
"password": "enter your password here", # Enter the password of your Netflix account here
Replace the placeholders with your Netflix account's email and password. For example:
Chrome Extension: Install the Get Cookies.txt extension for Chrome. Visit Netflix.com and download the cookies, renaming the file to cookies.txt. Place it in Netflix-videos-downloader-main\configs\Cookies.
If you encounter the error "title is not available in your Netflix region" in Netflix-videos-downloader-main\configs\Cookies, delete cookies_nf.txt and add a new cookies.txt.
Don't put any files in the folder Netflix-videos-downloader-main\configs\Tokens; the script will generate netflix_token.json by itself.
Advanced Options
For more advanced options and further customization, refer to the instructions in NFripper.py. You can open the file with Notepad++ for better readability.
To disable the use of aria2c and avoid errors, add the command --no-aria2c when running any batch file:
python NFripper.py --no-aria2c --high
For Interactive TV shows and movies, modify helpers/Parsers/Netflix/MSLClient.py. Change "isBranching": True before download and back to "isBranching": False after download.
Acknowledgements
Special thanks to Essam3152 for creating and sharing this amazing tool. The information provided in this README is based on their work.
For any additional information or help, please refer to the original repository or open an issue.
Alternatively, you can use the provided batch script:
Configuring Your Account
Navigate to the folder
Netflix-videos-downloader-main\configs
.Open
config.py
with a text editor like Notepad++.Locate the lines that need your email and password for your Netflix account:
Replace the placeholders with your Netflix account's email and password. For example:
Save the changes.
Installing Required Extensions
Chrome Extension: Install the Get Cookies.txt extension for Chrome. Visit Netflix.com and download the cookies, renaming the file to
cookies.txt
. Place it inNetflix-videos-downloader-main\configs\Cookies
.For Firefox users, you can use the Cookies.txt One Click addon.
Usage
Downloading Videos
AVC High Profile
Main Profile
To download a video in Main profile with audio and subtitles, use:
Alternatively, use the default highest bitrate (usually Main profile):
For specific episodes or all seasons, use:
To download in 720p, use:
For 480p quality, use:
To skip subtitles, use:
The script doesn't support HDR or HEVC profiles. Avoid using --hdr or --hevc options.
When prompted, provide the URL of the TV Show or movie on Netflix, like:
Downloading Subtitles
For downloading only subtitles in English (change "eng" for other languages), use:
For multiple languages, use:
To download subtitles for specific episodes, use:
To download subtitles for all seasons, use:
Downloading Audio
For downloading only audio in English (change "eng" for other languages), use:
For multiple languages, use:
To download audio for all available languages,
use:
To download audio in 2 channels, use:
Troubleshooting
If you encounter the error "title is not available in your Netflix region" in
Netflix-videos-downloader-main\configs\Cookies
, deletecookies_nf.txt
and add a newcookies.txt
.Don't put any files in the folder
Netflix-videos-downloader-main\configs\Tokens
; the script will generatenetflix_token.json
by itself.Advanced Options
For more advanced options and further customization, refer to the instructions in
NFripper.py
. You can open the file with Notepad++ for better readability.To disable the use of aria2c and avoid errors, add the command
--no-aria2c
when running any batch file:For Interactive TV shows and movies, modify
helpers/Parsers/Netflix/MSLClient.py
. Change"isBranching": True
before download and back to"isBranching": False
after download.Acknowledgements
Special thanks to Essam3152 for creating and sharing this amazing tool. The information provided in this README is based on their work.
For any additional information or help, please refer to the original repository or open an issue.