mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
remove some unused variables
This commit is contained in:
parent
681ab6952c
commit
0066059396
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user