astravaganza / JC-dl

Content downloader for Indian OTT JioCinema
The Unlicense
27 stars 20 forks source link

JC-dl

Simple Content downloader for Indian OTT JioCinema (https://www.jiocinema.com/).

(Currently only supports movies, I haven't looked at TV shows, so if someone wants to open a PR, feel free)

Purpose

JioCinema offers many rare and old HQ streams of Indian content which is unfortunately hidden behind DRM and cannot be easily saved for archival purposes. This tool bypasses the DRM restrictions and grabs the Non-DRM streams (which are ironically sometimes superior to their DRM counterparts) from JioCinema which can be downloaded directly.

Prerequisites

An account on JioCinema and the most basic skills.

WARNING

This tool shall not be abused for purposes which are not archival or educational. Use at your own risk.

Usage

The Workaround

Apparently JioCinema hosts their unprotected content on their jiobeats CDN, which was apparently also used for JioMusic (??? See https://github.com/vikas5914/JioMusic-API#listen-song). Makes no sense for them to have this open but this workaround has been out for quite some time.

P. S

I'm really terrible at coding so consider this as the worst code. Please feel free to open PRs.

Thanks

to yt-dlp for basically solving the m3u8 parsing cause I can't write a parser.

To-Do