mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
get_media: handle generic as a regular service.
This commit is contained in:
parent
8507219bf0
commit
411381a653
@ -131,7 +131,8 @@ def get_media(url, options):
|
||||
url = "http://%s" % url
|
||||
stream = service_handler(sites, url)
|
||||
if not stream:
|
||||
url, stream = Generic().get(sites, url)
|
||||
generic = Generic(url)
|
||||
url, stream = generic.get(sites)
|
||||
if not stream:
|
||||
if url.find(".f4m") > 0 or url.find(".m3u8") > 0:
|
||||
stream = Raw(url)
|
||||
|
Loading…
Reference in New Issue
Block a user