1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

svtplay: just return if we can’t find any video.

This commit is contained in:
Johan Andersson 2014-10-06 23:08:03 +02:00
parent 8f30de9a85
commit 9624fbdcaf

View File

@ -31,8 +31,8 @@ class Svtplay(Service, OpenGraphThumbMixin):
filename = match.group(1).replace("&", "&").replace("&format=json", "")
url = "http://www.svt.se%s" % filename
else:
log.error("Can't find video file")
sys.exit(2)
log.error("Can't find video file for: %s", self.url)
return
else:
url = self.url