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 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():
items = client.get_viewables(81470938, episode=1)
for item in items:
await client.download(item["viewable_id"],
client._file_name(
item["title"],
item["season"],
item["episode"],
"dvx"
)
)
asyncio.run(main())
DISCLAIMER: I don't have any responsability for your use. This is just informative.