Skip to content

Instantly share code, notes, and snippets.

View Emory-M's full-sized avatar

Emory.M Emory-M

View GitHub Profile
@Emory-M
Emory-M / m3u8dl.py
Last active April 8, 2023 05:38
Download m3u8 and merge ts file with python urllib2
# coding: utf8
import sys, urllib2
import socks
from sockshandler import SocksiPyHandler
from urlparse import urlparse
if len(sys.argv) < 2:
print 'Usage: python %s [url]' % sys.argv[0]
exit()