Features • Dependencies • How To Use • Community
- Get Metadata (title, year, episodes, seasons...) with Shakti API
- Get medias (videos, audios, audio descriptions, subtitles...)
- Decrypt Widevine DRM protected content
- Automatically mux all your tracks
- Nice pre-made format for file names
- Very fast multi-connection downloads
First of all, install the library with pip install git+https://github.com/stefanodvx/flixcrack@main
(you need Git for this)
Extract your cookies.txt from Netflix using your browser (you can use Get cookies.txt) and put it in your working folder. Then create a folder named "devices" and put your CDM in. Here's an example code, I'm downloading first episode of a series in 1080p with HIGH profile and AAC audio (English).
You can extract a private L3 CDM very easily from an Android phone using this tool.
Working folder example:
│ cookies.txt
│ main.py
│
└───devices
└───<device name>
device_client_id_blob
device_private_key
main.py:
from flixcrack import NetflixClient
import asyncio
client = NetflixClient(
email="", # Insert your email here
password="", # Insert your password here
device="", # Insert your CDM folder name here
quality=1080,
audio_language=["English"],
language="it-IT", # Metadata language
video_profile="high",
quiet=False
)
async def main():
for viewable in client.get_viewables(81470938, episode=1):
await viewable.download()
asyncio.run(main())
- This library is for informational purposes only
- Your Netflix account could get banned
- Your CDM could get downgraded