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

remove some unused variables

This commit is contained in:
Johan Andersson 2012-12-29 21:15:53 +01:00
parent 681ab6952c
commit 0066059396

View File

@ -845,12 +845,6 @@ def progressbar(total, pos, msg=""):
progress_stream.write(fmt % (pos, total, bar, msg))
def get_media(url, options):
output = options.output
live = options.live
resume = options.resume
silent = options.silent
hls = options.hls
if not options.output or os.path.isdir(options.output):
data = get_http_data(url)
match = re.search("(?i)<title>\s*(.*?)\s*</title>", data)