removed timer
This commit is contained in:
parent
47a81dca29
commit
4345c71ec9
@ -15,7 +15,6 @@ import shutil # check for ffmpeg in PATH
|
||||
import browser_cookie3 # cookies for premium accs
|
||||
from fake_useragent import UserAgent # sets useragent
|
||||
import concurrent.futures # concurrent downloads when using a -file
|
||||
import time # just for lols
|
||||
from cdm.wks import WvDecrypt, device_android_generic, PsshExtractor, KeyExtractor
|
||||
|
||||
|
||||
@ -296,7 +295,6 @@ def execute(url, plus_cookie, process_no):
|
||||
|
||||
|
||||
plus_cookie = find_cookies()
|
||||
start_time = time.time()
|
||||
max_workers = min(os.cpu_count(), len(urls))
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
|
||||
@ -308,8 +306,6 @@ with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
|
||||
completed_videos += 1
|
||||
print(f"{completed_videos}/{len(urls)} video{'s'[:len(urls) != 1]} completed")
|
||||
|
||||
execution_time = time.time() - start_time
|
||||
print("Execution time in seconds: " + str(execution_time))
|
||||
|
||||
#########
|
||||
# NOTES #
|
||||
|
Loading…
x
Reference in New Issue
Block a user