mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
generic: catch embed svt videos.
This commit is contained in:
parent
50aab78454
commit
8535e6f106
@ -49,7 +49,7 @@ class Generic(object):
|
||||
''' Videos embed in sites '''
|
||||
def get(self, url):
|
||||
data = get_http_data(url)
|
||||
match = re.search(r"src=\"(http://www.svt.se/wd.*)\" frameborder", data)
|
||||
match = re.search(r"src=\"(http://www.svt.se/wd.*)\" height", data)
|
||||
stream = None
|
||||
if match:
|
||||
url = match.group(1)
|
||||
|
Loading…
Reference in New Issue
Block a user