1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

get_one_media: dont download subtile with -g and -S

fixes: #366
This commit is contained in:
Johan Andersson 2016-04-27 00:38:44 +02:00
parent d56a5f4deb
commit f159ebd9e3

View File

@ -221,7 +221,7 @@ def get_one_media(stream, options):
if options.subtitle and options.get_url and options.force_subtitle:
print(subs[0].url)
return
if options.subtitle and options.output != "-":
if options.subtitle and options.output != "-" and not options.get_url:
if subs:
subs[0].download()
if options.force_subtitle: