Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

So I was wondering how can i get the best video and audio quality and multiple languages for the video? #45

Open
Nickthedog22 opened this issue Sep 2, 2021 · 122 comments

Comments

@Nickthedog22
Copy link

No description provided.

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

Depends on what provider you are trying to pull from. every provider is different.

@Nickthedog22
Copy link
Author

what do you mean provider

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

like what site are you trying to grab content off

@Nickthedog22
Copy link
Author

oh the site is Hbo Max

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

ok are you getting to the site via VPN or are you local because i have had to mod the MPD differentially in the past because of VPN

@Nickthedog22
Copy link
Author

local

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

hmm i think it might depend on the content but when i use N_m3u8 instead of yt-dlp it grabs 1080p with AC3 5.1 sound

@Nickthedog22
Copy link
Author

ok how can I find out what the audio and video stuff is?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

when you say Stuff.. do you mean like is it Dolby Digital or ACC Stereo stuff like that?

@Nickthedog22
Copy link
Author

yes

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

if you use N_m3u8 it will show you what its grabbing while its going through the process

@Nickthedog22
Copy link
Author

ok does it grab multiple languages like the ones for audio and can you link it?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

yes it will show up like this
Screen-01

@Nickthedog22
Copy link
Author

Nice what would the command for it be?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

same command you just need to change the script to use N_m3u8 which im still working on or i would just upload it for you. but it dose work and once its done i will add it

@Nickthedog22
Copy link
Author

oh ok how can i change the script?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

Just right click on the webdl.py file and select edit

@Nickthedog22
Copy link
Author

ok then? can you send N_m3u8?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

@Nickthedog22
Copy link
Author

what should i edit ?

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

Umm do you know much Python Script?

@Nickthedog22
Copy link
Author

Not really

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

Thats Ok,..mayb best just give me a day to finish up and ill post it

@Nickthedog22
Copy link
Author

oh ok just notify me when its done

@Nickthedog22
Copy link
Author

thanks man

@Sentivet
Copy link

Sentivet commented Sep 2, 2021

Can the mpd file be modified and used for download? If yes then how the modified mpd file can be used to download?

@hossam1111199
Copy link

Thats Ok,..mayb best just give me a day to finish up and ill post it

notify me too . thanks

@JudgeUAu
Copy link

JudgeUAu commented Sep 2, 2021

can somneone send me a key.json file from HBO Max as my VPN is not working and i need to confim the script i have works
thanks

@Nickthedog22
Copy link
Author

@JudgeUAu which show ?

@Nickthedog22
Copy link
Author

@JudgeUAu Can it be from Hbo max from Mexico?

@huliad2022
Copy link

@ali617768987 Use this modified version of the script, I tested it and it worked fine.

https://codeload.github.com/Essam3152/widevine-L3-WEB-DL-Script/zip/refs/heads/referer

The script needed the changes here for the downloading from the mpd to work.

Essam3152@6e773f4

It can be downloaded normally. Thank you very much.[♥]

@mserageng
Copy link

from where u got the json file that have the token
i have the normal extension that give the mpd and keys only
is thier updated extension that give that ??

@manzing
Copy link

manzing commented Oct 3, 2021

@oribe522 Use this modified version of the script, I modified it to download the audio in Spanish and English, the Spanish language is the default audio language, just run Download.bat then enter the IDs of the video, Spanish audio and English audio, the script has keys.json you could test the script with it.

widevine-L3-WEB-DL-Script-Spanish-English.zip

For more details about how to modify the script to download the audio in two languages see this branch.

https://github.com/Essam3152/widevine-L3-WEB-DL-Script/tree/Spanish-English

Essam3152@2ca0460

Essam3152@b45380e

Thanks for your work.
I tried to improve the code as there were some errors and no possibility to choose a single audio track if you want to check it out. You can also choose best video quality by default by typing Enter.
https://github.com/manzing/widevine-L3-WEB-DL-Script/tree/French-English

Currently working on another branch with possibility to use different names for json files and to add external subs : https://github.com/manzing/widevine-L3-WEB-DL-Script/tree/French-English-V2

@oribe522
Copy link

oribe522 commented Oct 3, 2021

@oribe522 Use this modified version of the script, I modified it to download the audio in Spanish and English, the Spanish language is the default audio language, just run Download.bat then enter the IDs of the video, Spanish audio and English audio, the script has keys.json you could test the script with it.
widevine-L3-WEB-DL-Script-Spanish-English.zip
For more details about how to modify the script to download the audio in two languages see this branch.
https://github.com/Essam3152/widevine-L3-WEB-DL-Script/tree/Spanish-English
Essam3152@2ca0460
Essam3152@b45380e

Thanks for your work. I tried to improve the code as there were some errors and no possibility to choose a single audio track if you want to check it out. You can also choose best video quality by default by typing Enter. https://github.com/manzing/widevine-L3-WEB-DL-Script/tree/French-English

Currently working on another branch with possibility to use different names for json files and to add external subs : https://github.com/manzing/widevine-L3-WEB-DL-Script/tree/French-English-V2

Your script its great! It would be so nice that we can add 2 .srt subtitles FR and EN. (sorry i couldn find where to write an issue on your script profile)

@manzing
Copy link

manzing commented Oct 4, 2021

Your script its great! It would be so nice that we can add 2 .srt subtitles FR and EN. (sorry i couldn find where to write an issue on your script profile)

I set the possibility to post issues on the script.
Maybe I will add 2 subs support but it needs a few lines of codes for something that probably won't be used so much, so I have to think about it.

@Rider143
Copy link

Rider143 commented Nov 1, 2021

cmd_0NqKKr83Il
cmd_J4OLEzt0dj

@Essam3152 can you please help in regards to detecting and downloading AC3 - EAC3 from Sun Nxt, prime video. It only detect the AAC files. Thank you

@Rider143
Copy link

Rider143 commented Nov 1, 2021

Is it possible to get e-ac3 audio from this site www.sunnxt.com? I tried changing user agent of browser to safari mac and first i successfully able to get e-ac3 audio but after that I am not able to replicate that. Anyone know please help..

Any success? I'm trying all the methods but it pulls only aac but not ac3.

cmd_0NqKKr83Il

@Essam23
Copy link

Essam23 commented Nov 1, 2021

@Rider143 For primevideo use this method
Satsuoni/widevine-l3-guesser#1 (comment)
or this one
Satsuoni/widevine-l3-guesser#1 (comment)
and use with it this modified version of the script
#51 (comment)
and replace in the script aac with eac3.

@Rider143
Copy link

Rider143 commented Nov 1, 2021

@Rider143 For primevideo use this method Satsuoni/widevine-l3-guesser#1 (comment) or this one Satsuoni/widevine-l3-guesser#1 (comment) and use with it this modified version of the script #51 (comment) and replace in the script aac with eac3.

Thank you for the reply, any work around for sunnxt.com , they have the most content in dd 5.1

@Essam23
Copy link

Essam23 commented Nov 1, 2021

@Rider143 Sorry, I can not help with the Indian sites.

@Rider143
Copy link

Rider143 commented Nov 1, 2021

@Rider143 Sorry, I can not help with the Indian sites.

that's ok,

There is a website pdisk.net and whatever the video we upload from our computer to the site and share the link to view it, the videos open only in Playit android app. Only first 15 seconds can be viewed after that a screen appears showing "to play the video, install Playit app from playstore". What is happening to the videos in the backend when we upload on pdisk.net website? I think the site is owned by Playit app only. I noticed that the uploaded videos use final url a6.hentai.com...etc to stream the videos which can be streamed fully using the app only. Can someone tell if the videos are encoded or encrypted backend and the app is made to decrypt the videos? Is such thing possible?

In faq of the site, i see this.

Video downloaded by Apps uses Smart Muxer technology.Smart Muxer is a unique technology developed by PLAYit, can merge the video and audio within seconds without any extra recoding and storage. It’s really workable when there are some videos have no build-in audio and need to be merged in the devices with low configurations. Due to the unique technology, the video can be only played by PLAYit and the other main-stream players can’t support. And videos shared to social apps can also be opened in PLAYit.

Is it possible to decrypt such videos?

example link : https://www.pdisk.me/share-video?videoid=nv2kpx002f8h

No login required

@Amb33r
Copy link

Amb33r commented Nov 4, 2021

@Essam3152 helllo
Would you like to help me again?
Use : widevine-L3-WEB-DL-Script-main to prime and
image
I am a beginner but I have this problem:
image
He tries like this:
hbo.py
webdl.py
webdl2.py
always the same error at the end.

Thank you for your time

@Essam23
Copy link

Essam23 commented Nov 4, 2021

@Amb33r Upload keys.json which gives you this error here.

@Amb33r
Copy link

Amb33r commented Nov 4, 2021

@Essam3152

[
{
"mpd_url": "https://s3-dub-ww.cf.dash.row.aiv-cdn.net/dm/2$FoFPXFiyFvzaFt-ppZv5XT0N0A0/7f91/53e6/da6e/466e-aa0c-547acbc85b11/ceacf14d-a6d9-4c53-82be-bcca8bb959c4_corrected.mpd?amznDtid=AOAGZA014O5RE&encoding=segmentBase"
},
{
"kid": "b770d5b4bb6b594daf985845aae9aa5f",
"hex_key": "b0cb46d2d31cf044bc73db71e9865f6f"
},
{
"kid": "a6cde1a737b44799ad78f1c1df3bcc2d",
"hex_key": "77aa72de248cf3649d052a49995c0c84"
},
{
"kid": "555040e976be48cebea579309f4e6339",
"hex_key": "2b0003ca52ffc309ef76872c5ab3729c"
}
]

@Essam23
Copy link

Essam23 commented Nov 4, 2021

@Amb33r Use this modified version of the script only with Amazon with audio in eac3 codec, just run download.bat and choose the video and the audio, the script has the keys.json for the movie that you sent, I tested it and it worked.

widevine-L3-WEB-DL-Script-Amazon.eac3.zip

@Amb33r
Copy link

Amb33r commented Nov 4, 2021

@Essam3152
buddy, which lines in webdl.py need to be edited? because i want to use aac and ac3 audio. Cause you made me ready for eac3.

@Essam23
Copy link

Essam23 commented Nov 4, 2021

@Amb33r This version will work with any kind of audio codec in Amazon (it will work with some other sites that use mpd URL too), this version uses N_m3u8DL-CLI so any mpd URL that does not work with N_m3u8DL-CLI will not work with it.

widevine-L3-WEB-DL-Script-Amazon.zip

@diestro123
Copy link

Hi,
Every time i try to get something from HBO Max, using the script hbo.py and other different (including language ones), VLC return me an error saying that the codec is not available, although it download the mkv.
Is it necessary to do something special on the json file? (Actually returns in my case 2 mpd and 4 kid)
Thanks a LOT for this work, it really really helps me!

@rohitgusinge19
Copy link

rohitgusinge19 commented Nov 16, 2021

@diestro123 you will get 2 mpd coz of them is advertise and its decryption key of some shows or series as because its ott streaming platform whatever streaming even the advertise will be protected and second one is original link mpd and it's respectve decryption key. talking about VLC problem reinstall or simply use potplayer.
I hope now you will get why 2 mpds are there.

@diestro123
Copy link

@rohitgusinge Thanks for the explanation! I tried again, using potplayer and those indications but it seems like have some kind of DRM which don't allow to play the video nor the sound. Is it normal that problem while downloading from HBO Max?
Thanks again for your help!!

@Amb33r Amb33r mentioned this issue Nov 18, 2021
Closed
@Demboer15
Copy link

Demboer15 commented Nov 19, 2021

@Rider143 For primevideo use this method Satsuoni/widevine-l3-guesser#1 (comment) or this one Satsuoni/widevine-l3-guesser#1 (comment) and use with it this modified version of the script #51 (comment) and replace in the script aac with eac3.

Based on this is there anyway to get script to combine CBR Enabler mpd + keys(which is missing eac3 even when modified, only aac) to get CBR video & modified VBR mpd + keys to get eac3. Maybe allow two separate keys.json, one for video (eg keys.json) and one for audio (eg keys1.json).

@JuanF007
Copy link

@Amb33r This version will work with any kind of audio codec in Amazon (it will work with some other sites that use mpd URL too), this version uses N_m3u8DL-CLI so any mpd URL that does not work with N_m3u8DL-CLI will not work with it.

widevine-L3-WEB-DL-Script-Amazon.zip

A query
Maybe this is a bit off topic, but I would like to know how to download from Crunchyroll
since this platform uses mpd
but it does not work

@Amb33r
Copy link

Amb33r commented Nov 27, 2021

@Amb33r Use this modified version of the script only with Amazon with audio in eac3 codec, just run download.bat and choose the video and the audio, the script has the keys.json for the movie that you sent, I tested it and it worked.

widevine-L3-WEB-DL-Script-Amazon.eac3.zip

@Essam21
You could do the same but under .ac3
You're big don't run away :)

@diestro123
Copy link

Hello,

Someone knows what to do in the particular case of Apple TV? It returns keys but not are any m3u8 or mpd valid to get the content...

Thanks a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests