mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
get_media: Check for embed videos first.
sydsvenskan.se are using qbrick for their own videos. but they used tv4play.se for some videos ex: obama visit in sweden.
This commit is contained in:
parent
545d78840b
commit
6f7cd4bcd0
@ -50,10 +50,11 @@ class Options:
|
||||
self.password = None
|
||||
|
||||
def get_media(url, options):
|
||||
stream = service_handler(url)
|
||||
if not stream:
|
||||
url, stream = Generic().get(url)
|
||||
url, stream = Generic().get(url)
|
||||
if stream:
|
||||
url = url.replace("&", "&")
|
||||
if not stream:
|
||||
stream = service_handler(url)
|
||||
if not stream:
|
||||
log.error("That site is not supported. Make a ticket or send a message")
|
||||
sys.exit(2)
|
||||
|
Loading…
Reference in New Issue
Block a user