Skip to content

Commit

Permalink
Add check wvd file
Browse files Browse the repository at this point in the history
- maybe
  • Loading branch information
NyaShinn1204 committed Dec 15, 2024
1 parent 6ee4211 commit 1b42dbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion command.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging
import os
import shutil
import re
import sys
from datetime import datetime

Expand Down Expand Up @@ -101,6 +100,12 @@ def main_downloader(input, username, password, proxy, res, resR, mux, muxfile, k
print("[!] Requirement to install {}".format(cmd))
error_found = True

if os.path.exists("l3.wvd"):
pass
else:
print("[-] Error: Widevine CDM File (l3,wvd) is not found")
sys.exit(1)

if error_found:
sys.exit(1)
try:
Expand Down

0 comments on commit 1b42dbe

Please sign in to comment.