Look at the error message and put your thinking head on! And if all else fails RTFM.
Clearly you are not pasting what you should be. Did you really need me to tell you that?
Open start.html in your browser and read how to get the cURL - do not go anywhere near curlconverter.com.
(Yet another one stuck in a groove!)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 121 to 138 of 138
Thread
-
Last edited by A_n_g_e_l_a; 18th Sep 2024 at 04:05.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
[Attachment 82291 - Click to enlarge]
Getting an error on windows, after pressing - download video:
Code:\Desktop\M3U\HellYesGui>allhell3gui.py Traceback (most recent call last): File "C:\Users\...\Desktop\M3U\HellYesGui\allhell3gui.py", line 34, in run subprocess.run(self.command, check=True) File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\...\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified
-
I'd say, the command "N_m3u8DL-RE" wasn't found. You followed the guide that Angela prepared for you (and all other users)?
It specifically says:
Install the following:
* See the code at https://github.com/nilaoda/N_m3u8DL-RE, download the latest release. Unzip and save to a folder named 'binaries'. It can be anywhere on your system. So long as 'binaries' is in your Path.Last edited by Obo; 18th Sep 2024 at 13:31.
-
-
what about if the link its not mpd
composite_4250k_CENC_CTR_FHD_SDR_5a748b01-cb4a-4ca2-b636-a8a5e44d8802_79184e58-2a15-476a-9725-73419628ad1d.m3u8
how than ? -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
it is 100% Widevine protekted example in the m3u8 its have like this
#EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",KEYFORMATVERSIONS="1",URI="data:text/plain;base64,AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7 QAAABISEBEqfppz20i/mAXfCpQ5bX8="
#EXT-X-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="com.microsoft.playready",KEYFORMATV ERSIONS="1",URI="data:text/plain;charset=UTF-16;base64,xAEAAAEAAQC6ATwAVwBSAE0ASABFAEEARABFAFIA IAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQ BtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBE AFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAG QAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIA NAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATw BUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2 ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAF MAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUA QwBUAEkATgBGAE8APgA8AEsASQBEAD4AbQBuADQAcQBFAGQAdA B6AHYAMABpAFkAQgBkADgASwBsAEQAbAB0AGYAdwA9AD0APAAv AEsASQBEAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAE EARABFAFIAPgA="
for widevine pssh its as we see
AAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7 QAAABISEBEqfppz20i/mAXfCpQ5bX8=
mybe need samthing like this
def extract_pssh_from_m3u8(m3u8_content):
# Regex to match the EXT-X-KEY tag with Widevine PSSH
pssh_regex = r'#EXT-X-KEY:METHOD=(?P<method>[A-Z-]+),KEYFORMAT="urn:uuid?P<uuid>[a-f0-9-]+)",KEYFORMATVERSIONS="(?P<version>[0-9]+)",URI="data:text/plain;base64,(?P<pssh_base64>[^"]+)"'Last edited by senkron24; 22nd Sep 2024 at 20:03.
-
If the pssh is in the init0.m4f AllHell3Gui will find keys for m3u8. If not you will have to use L3.py or a custom script. You may of course adapt Allhell3Gui for your own needs.
I have decided to confine this script to 'Widevine mpd'. It simplifies the idea of 'Tool for the job' for the mass of down-loaders out there and prevents mission-creep.
And I have had this conversation a few pages earlier in the thread!!
Edit: this regex will work r"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed.*base64,(.*)\"" and group1 holds the psshLast edited by A_n_g_e_l_a; 23rd Sep 2024 at 09:16.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
@senkron24 here is my take on what you are trying to do
[Attachment 82427 - Click to enlarge]
add code lines 227 - 237 inclusive in allhell3gui.py
Code:try: import m3u8 # try again with m3u8 playlist = m3u8.load(self.mpd_url_entry.text()) match = re.search(r'edef8ba9-79d6-4ace-a3c8-27dcd51d21ed.*base64,(.*)\"', playlist) if match: pssh= match.group(1) return pssh except: pass
If ever that code makes it to a release I will not be publicising any facility with m3u8. I do wish to be associated in any way with 'm3u8 support' for the masses.Last edited by A_n_g_e_l_a; 23rd Sep 2024 at 09:25.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
again here
i try many variants
except:
try:
import m3u8
import re
# try again with m3u8
playlist = m3u8.load(self.mpd_url_entry.text())
raw_content = playlist.dumps()
match = re.search(r'edef8ba9-79d6-4ace-a3c8-27dcd51d21ed.*base64,([^"]+)"', raw_content)
if match:
pssh= match.group(1)
return pssh
bud same problem
ERROR: Initialization fragment found after media fragments, unable to download
Extracting PSSHs from init file: init.m4f
Error parsing MPD content: syntax error: line 1, column 0
#EXT-X-SESSION-KEY:METHOD=SAMPLE-AES-CTR,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",KEYFORMATVERSIONS="1",CHARACTERISTIC S="com.dss.ctr.hd",URI="data:text/plain;base64,AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7 QAAABISEBEqfppz20i/mAXfCpQ5bX8="
i try to adapt bud and try get help from chatgpt bud not help chatgpt its totaly confused hehaheha
bud i get running with this
import m3u8
def extract_pssh_from_m3u8(m3u8_url):
try:
# M3U8 dosyasını yükle
playlist = m3u8.load(m3u8_url)
# PSSH bulmak için session keys'i kontrol et
for key in playlist.session_keys:
if key.keyformat == 'urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed':
uri = key.uri
if uri.startswith('data:text/plain;base64,'):
pssh = uri[len('data:text/plain;base64,'):]
print(f"PSSH bulundu: {pssh}")
return pssh
print("No PSSH found in m3u8.")
return None
except Exception as e:
print(f"Error extracting PSSH from m3u8: {e}")
return None
# Örnek kullanım
if __name__ == "__main__":
m3u8_url = input("Lütfen m3u8 URL'sini girin: ")
pssh = extract_pssh_from_m3u8(m3u8_url)
python deneme2.py
Lütfen m3u8 URL'sini girin: https://v/ctr-all-017eda86-efe2-4668-bc8d-12eed2057032-abc5b155-bbb0-44cd-9937-130c188...%2Cst%3Dv%2Csu
PSSH bulundu: AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEBEqfp pz20i/mAXfCpQ5bX8=
D:\indirenler>Last edited by senkron24; 24th Sep 2024 at 16:16.
-
Well done for finding a solution!
The error above suggests the m3u3 regex wasn't being called and it was catching an error parsing an init.m4f then stopping. There was a tangle of if- else and try -excepts which I have attempted to clean up. I have put your m3u8 extractor in a method on its own and cleaned up the logic.
If you have the time I would be grateful if you would test this https://files.videohelp.com/u/301890/test_with_m3u8_allhell3gui.pyLast edited by A_n_g_e_l_a; 25th Sep 2024 at 05:12.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
amazing GUI. thank you A_n_g_e_l_a
can you please make another version to work with pssh replace of mpd link
because in some cases mpd links not worked (geo blocked)
so we need to put pssh directly or use vpn! -
-
Great! I've PM'ed you the link.
To the 7 [edit] 9 [/edit] people that downloaded the original file: I was seeking help here guys. The file wasn't for you. Yet you took it anyway. The very least you could have done is leave some feedback on how it copes with m3u8. Good ol' VH! Almost everyone is a taker.
[edit] The file had errors. After feedback from senkron24 I now have a version which parses for m3u8 pssh correctly (tested on one site only ) [/edit]Last edited by A_n_g_e_l_a; 2nd Oct 2024 at 04:59.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Well without an mpd being input there would be absolutely no chance of downloading anything - so the exercise would have little point.
But this will do what you need without an mpd. https://forum.videohelp.com/threads/415485-[Release]-WidevineFetch-Keys-from-just-the-License-URL-Any-Lic-Wrapping
If something is GEO blocked - use a VPN, or do as I do, and put up with it.Last edited by A_n_g_e_l_a; 1st Oct 2024 at 05:02.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thanks for this tool, it works great.
For a particular paid service, I had to make a workaround to make it work, since your original code was only getting the key for decrypting the audio, but not the video (video had a different PSSH and key).
Here's what I've made in case anyone needs it, for the gui. It's probably not the most elegant way to do it, but it does the job:
Code:pssh = None for adaptation_set in root.findall(".//AdaptationSet[@contentType='video']", namespaces): for elem in adaptation_set.findall('.//ContentProtection', namespaces): scheme_id_uri = elem.attrib.get('schemeIdUri', '').upper() if scheme_id_uri == f'URN:UUID:{WIDEVINE_SYSTEM_ID}': pssh_elem = elem.find('cenc:pssh', namespaces) if pssh_elem is not None: pssh = pssh_elem.text break break if pssh is not None: return pssh
Similar Threads
-
[Release] CDRM-Project 2.0
By TPD94 in forum Video Streaming DownloadingReplies: 21Last Post: 14th Oct 2024, 07:44 -
N_m3u8DL-RE pre-release
By stabbedbybrick in forum Video Streaming DownloadingReplies: 10Last Post: 10th May 2024, 15:37 -
Northern Exposure, Fabulous release
By mylarkee in forum Blu-ray RippingReplies: 0Last Post: 6th Mar 2024, 11:42 -
New Release! DVDFab Downloader All-In-One
By DVDFab Staff in forum Video Streaming DownloadingReplies: 0Last Post: 18th Jan 2021, 00:49 -
New Release!!!DVDFab v11.0.8.6 is out!
By DVDFab Staff in forum Latest Video NewsReplies: 0Last Post: 13th May 2020, 22:59