mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
get_one_media: Don’t try downloading files when we can’t find any.
This commit is contained in:
parent
b59f413a22
commit
dc46471108
@ -135,7 +135,7 @@ def get_one_media(stream, options):
|
||||
|
||||
if len(videos) == 0:
|
||||
log.error("Can't find any streams for that url")
|
||||
|
||||
else:
|
||||
stream = select_quality(options, videos)
|
||||
log.info("Selected to download %s, bitrate: %s",
|
||||
stream.name(), stream.bitrate)
|
||||
|
Loading…
Reference in New Issue
Block a user