-
Notifications
You must be signed in to change notification settings - Fork 152
Video Split over 4 ids? #56
Comments
Just choose any ID of the four, they are all the same file. |
They are not the same in this case, the first one downloads a small section of the beginning, the 2nd and 3rd downloads a larger section of the middle and the 4th the end. |
Post the link of the episode or the movie. |
Any episode. But also think it happens with anything else on website |
Try using this modified version of the script, just run download.bat and choose the audio in aac. |
When you say run download.bat, can you elaborate, thanks. |
Just put keys.json in the same folder with webdl2.py and double click on download.bat, You might get offered to choose the audio and the video, choose the audio in aac, not sure if the keys will work with the audio in eac3 or not, and some of the shows has the audio only in aac, If you could decrypt the audio in eac3 open webdl2.py with Notepad++ and replace aac with eac3, you could make a copy of the script and name it webdl3.py and a copy of download.bat and name it download.2.bat and edit download.2.bat by replacing webdl2.py with webdl3.py and when you want to decrypt the audio in eac3 execute download.2.bat. |
Tried shift+right click in white space of script folder, open command window, type download.bat+return. All it does is open webdl2.py in notepad and when I close that it states in command window: press any key to continue... and then it closes command window. Double clicking download.bat does same thing, keys.json (with duplicate mpd url link removed) in new Peacock script folder. That's why I was asking you to elaborate, thought I was doing something wrong. |
The purpose of the batch file is not to use the command prompt, anyway ignore the batch file and rename webdl2.py to webdl.py and use it as you used to do before. |
As said, even just double clicking batch file did same thing. Renamed to webdl.py as requested, run script as normal, went through start download process etc and now it is repeatedly saying downloading map file, is this normal, or wrong. |
Are you using a VPN? Upload your keys.json here in a comment. Is your account a premium one? |
Using smartdns (works fine with XstreamDL), with premium, no ads. |
Try using a different mpd, I had the same problem before changing the mpd worked for me. |
Tried both VPN and different mpd, no luck, any other suggestions. |
I have no other suggestions now, you could try using this keys.json for the first episode of "Cheers", It worked for me, but it has ads. |
I modified the script to use XstreamDL-CLI, download it from here. https://codeload.github.com/Essam3152/widevine-L3-WEB-DL-Script/zip/refs/heads/Peacock You could change the options of XstreamDL-CLI in this line. https://github.com/Essam3152/widevine-L3-WEB-DL-Script/blob/Peacock/webdl.py#L62 |
Thanks, that definitely works. One final question, where can I tell XstreamDL in the script where ffmpeg is located to remove "Warning: cannot find executable ffmpeg", during execution of script. Doesn't affect running of script, just annoying seeing it. 1, tried adding "--ffmpeg "C:\Users<username>\Desktop\ffmpeg-2021-09-20-git-59719a905c-full_build\bin\ffmpeg.exe"" in the XstreamDL options line but it caused a syntax error when running script. |
You could add ffmpeg.exe to PATH or add it in the same folder with webdl.py or add ffmpeg.exe in binaries and in the script modify it to
I updated the script and added ffmpeg, download the new version. https://codeload.github.com/Essam3152/widevine-L3-WEB-DL-Script/zip/refs/heads/Peacock |
Was about to post an idea about the subtitles. Not sure if there are subtitles on their own, tried looking for ttml2 etc when enabled in stream and check console but nothing there but the video itself has embedded closed captions which after the mkv is created I use CCExtractor to extract them as srt and merge them myself into existing mkv. Would it be possible to add this as a process to the script. |
Do you have any idea why subtitles look like this? |
@Demboer15 The script needs the URLs of the subtitles, see here. I might try to find a way for getting the URLs of the subtitles, usually Apple devices use a different format for the subtitles . |
It would be great. |
Either way would be great, either URL if possible or CCExtractor which I,ve been using on episodes. |
@Demboer15 I could not find anything helpful in the m3u8 URL of a video on the iPhone. and I do not think I would be able to modify the script to use CCExtractor. |
No worries, what you've done with the script so far I am very grateful for, been able to add CCExtractor would of just made it one less step to deal with. |
@Essam3152 would you mind looking at this if you can help #66 |
@Demboer15 @oribe522 I modified the script to use CCExtractor, run download.bat and the script will extract the subtitle and merge it in the video (or use Use this keys.json for testing the script. |
Thanks! really thanks! |
Wow, thanks, just to confirm working with Peacock mpd. |
Talking of subtitles, Essam3152, anyway of grabbing latest HBOMAX subtitles with script, they are now using split .VTT files. Thanks in advance. |
@Essam3152 What can i do sir ? @Essam3152 `_ ____________ ____ __ _____ _ __ by parnex Edited By JudgeU Selected MPD : https://g003-vod-us-cmaf-prd-cl.cdn.peacocktv.com/pub/global/cY3/xNU/PCK_1634093103246.8225_01/cmaf/mpeg 0 total 3154 segments 6312.93s encrypted_video_H264_960x540_1833.85kbps Decrypting ..... All Done ..... Do you want to delete the Encrypted Files : Press 1 for yes , 2 for no |
@Demboer15 You could try this modified script, it uses https://cmaf.cf.us.hbomaxcdn.com/videos/GXt-ZRQXsQcPCwgEAAAqW/1/b1ec35/1_KW0E8Q_ad_1080hi.mpd you could find that kind of mpd by searching in network for "content" press on every link then press on "response" and search for "fallbackManifest", not every video will have it. The script is modified to download only the English subtitles, and it has keys.json for the movie "birds of prey" HBOMAX USA, use |
Thanks Essam3152, tested and all working fine, pulling the subs now. |
@post-master I do not know yet why are you getting this error message, try to put "widevine-L3-WEB-DL-Script-Peacock-subtitles" in a different partition like "D", and do not use the batch file. |
@Essam3152 sir can I have your discord or telegram, please? |
The file 'decrypted.mp4' could not be opened for reading: open file error @Essam3152 any solution? |
Have an mpd that splits video id into four parts (audio is one id):
https://imgur.com/Mb2gipt
How do I get script to download all four ids: -0, -1,-2 and -3 and merge together correctly.
When I use XstreamDL it automatically downloads as one video file so obviously there must be a way for script to do this correctly.
Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: