mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
get_media: support for raw mpd files
This commit is contained in:
parent
f0efb1b685
commit
7ac0b5fc65
@ -46,7 +46,7 @@ def get_media(url, options, version="Unknown"):
|
||||
generic = Generic(options, url)
|
||||
url, stream = generic.get(sites)
|
||||
if not stream:
|
||||
if url.find(".f4m") > 0 or url.find(".m3u8") > 0:
|
||||
if url.find(".f4m") > 0 or url.find(".m3u8") > 0 or url.find(".mpd") > 1:
|
||||
stream = Raw(options, url)
|
||||
if not stream:
|
||||
logging.error("That site is not supported. Make a ticket or send a message")
|
||||
|
Loading…
Reference in New Issue
Block a user