mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
generic: detect embeded svtplay streams
This commit is contained in:
parent
b50fd6b907
commit
c7634399a7
@ -126,6 +126,12 @@ class Generic(object):
|
||||
if i.handles(url):
|
||||
return url, i(url)
|
||||
match = re.search(r'iframe src="(http://tv.aftonbladet[^"]*)"', data)
|
||||
if match:
|
||||
url = match.group(1)
|
||||
for i in sites:
|
||||
if i.handles(url):
|
||||
return url, i(url)
|
||||
match = re.search(r"iframe src='(http://www.svtplay[^']*)'", data)
|
||||
if match:
|
||||
url = match.group(1)
|
||||
for i in sites:
|
||||
|
Loading…
Reference in New Issue
Block a user