mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
Generic: embeded tv4play videos
This commit is contained in:
parent
12ca98359f
commit
78d5b2a212
@ -60,6 +60,12 @@ class Generic(object):
|
||||
for i in sites:
|
||||
if i.handle(match.group(1)):
|
||||
return match.group(1), i
|
||||
match = re.search("tv4video.swf\?vid=(\d+)", data)
|
||||
if match:
|
||||
url = "http://www.tv4play.se/?video_id=%s" % match.group(1)
|
||||
for i in sites:
|
||||
if i.handle(url):
|
||||
return url, i
|
||||
return url, stream
|
||||
|
||||
def service_handler(url):
|
||||
|
Loading…
Reference in New Issue
Block a user