mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
Mtvservices: better error message
Print a better error message when the video is not available
This commit is contained in:
parent
06368689de
commit
195e3b7184
@ -33,7 +33,7 @@ class Mtvservices(Service):
|
||||
for i in sa:
|
||||
streams[int(i.attrib["height"])] = i.find("src").text
|
||||
if len(streams) == 0:
|
||||
log.error("Can't find video file")
|
||||
log.error("Can't find video file: %s" % ss.text)
|
||||
sys.exit(2)
|
||||
stream = select_quality(options, streams)
|
||||
temp = stream.index("gsp.comedystor")
|
||||
|
Loading…
Reference in New Issue
Block a user