Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the mp4decrypt folder to working files #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file modified mp4decrypt/mp4decrypt_linux
100644 → 100755
Binary file not shown.
Binary file modified mp4decrypt/mp4decrypt_mac
Binary file not shown.
Binary file modified mp4decrypt/mp4decrypt_win.exe
Binary file not shown.
34 changes: 18 additions & 16 deletions widevine-dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,24 +85,26 @@ def merge_content():
time.sleep(2)
os.system('ffmpeg -i %s/decrypted_video.mp4 -i %s/decrypted_audio.m4a -c:v copy -c:a copy %s/%s'%(TEMPORARY_PATH,TEMPORARY_PATH,OUTPUT_PATH,FILENAME))

divider()
print("**** Widevine-DL by vank0n ****")
divider()
MPD_URL = input("Enter MPD URL: \n> ")
KEY_PROMPT = input("Enter WideVineDecryptor Prompt: \n> ")
download_drm_content(MPD_URL)
decrypt_content()
merge_content()
divider()
print("Process Finished. Final Video File is saved in /output directory.")
divider()

delete_choice = input("Delete cache files? (y/n)\ny) Yes (default)\nn) No\ny/n> ")

if delete_choice == "n":
if __name__ == '__main__':
divider()
print("**** Widevine-DL by vank0n ****")
divider()
MPD_URL = input("Enter MPD URL: \n> ")
KEY_PROMPT = input("Enter WideVineDecryptor Prompt (PSSH key | check README.md): \n> ")
download_drm_content(MPD_URL)
decrypt_content()
merge_content()
divider()
print("Process Finished. Final Video File is saved in /output directory.")
divider()
else:
empty_folder(TEMPORARY_PATH)

delete_choice = input("Delete cache files? (y/n)\ny) Yes (default)\nn) No\ny/n> ")

if delete_choice == "n":
divider()
else:
empty_folder(TEMPORARY_PATH)



Expand Down