Skip to content

Commit

Permalink
fixed default value choice
Browse files Browse the repository at this point in the history
  • Loading branch information
WHTJEON authored Apr 22, 2021
1 parent 138b550 commit c7ecb12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions widevine-dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ def download_drm_content(mpd_url):
print("Processing Video Info..")
os.system('yt-dlp --external-downloader aria2c --no-warnings --allow-unplayable-formats --no-check-certificate -F "%s"'%mpd_url)
divider()
VIDEO_ID = input("ENTER VIDEO_ID (Press Enter for Default): ")
VIDEO_ID = input("ENTER VIDEO_ID (Press Enter for Best): ")
if VIDEO_ID == "":
VIDEO_ID = "best"
VIDEO_ID = "bv"

AUDIO_ID = input("ENTER AUDIO_ID (Press Enter for Default): ")
AUDIO_ID = input("ENTER AUDIO_ID (Press Enter for Best): ")
if AUDIO_ID == "":
AUDIO_ID = "best"
AUDIO_ID = "ba"

divider()
print("Downloading Encrypted Video from CDN..")
Expand Down

0 comments on commit c7ecb12

Please sign in to comment.