1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 23:24:16 +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:
Johan Andersson 2013-09-04 15:02:58 +02:00
parent 545d78840b
commit 6f7cd4bcd0

View File

@ -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)
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)