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:
parent
8f30de9a85
commit
9624fbdcaf
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user