mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
115e795835
Does not work reliably (downloading SVTPlay videos with HDS may work if you're lucky).
13 lines
403 B
Python
13 lines
403 B
Python
class Urplay():
|
|
def handle(self, url):
|
|
return "urplay.se" in url
|
|
|
|
def get(self, options, url):
|
|
data = get_http_data(url)
|
|
match = re.search('file=(.*)\&plugins', data)
|
|
if match:
|
|
path = "mp%s:%s" % (match.group(1)[-1], match.group(1))
|
|
options.other = "-a ondemand -y %s" % path
|
|
download_rtmp(options, "rtmp://streaming.ur.se/")
|
|
|