Skip to content

Instantly share code, notes, and snippets.

View sambshapiro's full-sized avatar

Sam Shapiro sambshapiro

View GitHub Profile
@delimitry
delimitry / m3u8_decryptor.py
Created December 8, 2016 10:00
Python script for download and decrypt TS chunks from m3u8 file
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
import requests
import sys
from Crypto.Cipher import AES