try this one
Code:7f3773fc82346b5a59cfded72adf6944:331eddf96d509cadaca97b70c1726329
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 61 to 90 of 129
-
-
-
-
Hello guys, someone could help me with this link?
Link: https://www.wittytv.it/uomini-e-donne/lunedi-11-marzo-2/
Is related to mediaset and is there someone could explain how I can do it by myself?
I tried reading other threads, but were difficult to understand methods used in.
Thank you in advance -
Code:
N_m3u8DL-RE -M format=mkv --key 5f1b65652ce87229597b5d7e80163df0:5049df69abede16cdeb651b88cd5ecef "https://vod06.msf.cdn.mediaset.net/farmunica/2024/03/1532313_18e2e143ae6f89/dashrcenc/hd_wv_mpl.mpd" --save-name "Lunedì 11 marzo"
-
Last edited by dreamer498; 13th Mar 2024 at 16:20.
-
License url for this site is in this format:
Code:https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?releasePid=...
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
-
Damn, that's lazy of them. Nice trick! So in short, you found just the values "hd", "sd", and "hr" (I don't think there are others hidden options)? Which would mean sd < hr < hd in terms of quality.
I'm asking because I don't think there is an hd for this one:
https://www.wittytv.it/tu-si-que-vales/prima-puntata-sabato-18-settembre/
Unless there is some other hidden name.Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 14th Mar 2024 at 08:26.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
Alright, so thanks for the confirmation
I tried putting your words into code and I encountered this dilemma so I'm glad it got solved. A downloader for the https://www.wittytv.it site following your trick would look like this:
Code:import json import re import time from urllib.parse import urlencode, urlparse, urlunparse import fake_useragent import requests from pywidevine.cdm import Cdm from pywidevine.device import Device from pywidevine.pssh import PSSH LICENSE_URL = 'https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense' WVD_FILE = "./device_wvd_file.wvd" ACCOUNT = "http://access.auth.theplatform.com/data/Account/{a_id}" LOGIN = "https://api-ott-prod-fe.mediaset.net/PROD/play/idm/anonymous/login/v2.0" PLAYBACK = 'https://api-ott-prod-fe.mediaset.net/PROD/play/playback/check/v2.0' RES_PRIORITY = ["hd", "hr", "sd"] MAX_MPD_RETRIES = 25 def get_bearer_token(): return json.loads(requests.post( LOGIN, json={'client_id': 'client_id', 'appName': 'embed//mediasetplay-embed'} ).content.decode())["response"]["beToken"] USER_AGENT = fake_useragent.UserAgent().random BEARER_TOKEN = get_bearer_token() def get_manifest_pssh(manifest, formats, manifest_info): try: return manifest, str(min(re.findall( r'<cenc:pssh>(.+?)</cenc:pssh>', requests.get(f"{manifest}?formats={formats}").content.decode() ), key=len)) except: pass matches = re.findall(r'<video\s*src="([^"]+)"', manifest_info) manifest = [m for m in matches if ".mpd" in m][0] parsed_url = urlparse(manifest) path_components = parsed_url.path.split("/") manifest_name = path_components[-1] name_splits = manifest_name.split("_") for res in RES_PRIORITY: temp_splits = name_splits temp_splits[0] = res manifest_name = "_".join(temp_splits) path_components[-1] = manifest_name updated_path = "/".join(path_components) temp_url = urlunparse(( parsed_url.scheme, parsed_url.netloc, updated_path, parsed_url.params, parsed_url.query, parsed_url.fragment )) try: response = requests.get(f"{temp_url}?formats={formats}") if response.status_code < 200 or response.status_code >= 300: raise except: continue try: return temp_url, str(min(re.findall( r'<cenc:pssh>(.+?)</cenc:pssh>', response.content.decode() ), key=len)) except: return temp_url, None return None, None def get_video_data(source_url): content_id = re.search( r'guIDcurrentGlobal\s*=\s*"([^"]+)"', requests.get(source_url).content.decode() ).group(1) response = json.loads(requests.post( PLAYBACK, json={'contentId': content_id, 'streamType': 'VOD'}, headers={ 'User-Agent': USER_AGENT, 'Authorization': f'Bearer {BEARER_TOKEN}' } ).content.decode())["response"]["mediaSelector"] manifest = response.pop("url") response["auth"] = BEARER_TOKEN manifest_info = f"{manifest}?{urlencode(response)}" retry = 0 while retry < MAX_MPD_RETRIES: manifest_info_content = requests.get(manifest_info, headers={ 'Accept': 'application/json, text/plain, */*', 'Origin': 'https://mediasetinfinity.mediaset.it', 'Referer': 'https://mediasetinfinity.mediaset.it/', 'User-Agent': USER_AGENT }) status_code = manifest_info_content.status_code manifest_info_content = manifest_info_content.content.decode() if status_code < 200 or status_code >= 300: retry = MAX_MPD_RETRIES break if manifest_info_content is not None and ".mpd" in manifest_info_content: break retry += 1 time.sleep(0.1) if retry >= MAX_MPD_RETRIES: print("Failed to get mpd for " + source_url) return None, None, None manifest_info = manifest_info_content manifest, pssh_value = get_manifest_pssh(manifest, response["formats"], manifest_info) return manifest, pssh_value, { "releasePid": re.search(r"\|pid=(.*?)\|", manifest_info).group(1), "account": re.search(r"aid=(.*?)\|", manifest_info).group(1) } def get_keys(pssh_value, additional): if pssh_value is None: return [] pssh = PSSH(pssh_value) device = Device.load(WVD_FILE) cdm = Cdm.from_device(device) cdm_session_id = cdm.open() challenge = cdm.get_license_challenge(cdm_session_id, pssh) licence = requests.post( LICENSE_URL, data=challenge, params={ 'releasePid': additional['releasePid'], 'account': ACCOUNT.format(a_id=additional["account"]), 'schema': '1.0', 'token': BEARER_TOKEN } ) licence.raise_for_status() keys = [] cdm.parse_license(cdm_session_id, licence.content) for key in cdm.get_keys(cdm_session_id): if "CONTENT" in key.type: keys += [f"{key.kid.hex}:{key.key.hex()}"] cdm.close(cdm_session_id) return keys def get_download_command(source_url): manifest, pssh_value, additional = get_video_data(source_url) keys = get_keys(pssh_value, additional) if len(keys) == 0: return f'N_m3u8DL-RE.exe "{manifest}" -M format=mkv' return f'N_m3u8DL-RE.exe "{manifest}" {" ".join([f"--key {k}" for k in keys])} -M format=mkv' SOURCE_URLS = [ "https://www.wittytv.it/tu-si-que-vales/prima-puntata-sabato-18-settembre/", "https://www.wittytv.it/ce-posta-per-te/quarta-puntata-sabato-3-febbraio/", "https://www.wittytv.it/maurizio-costanzo-show/ultima-puntata-venerdi-25-novembre/", "https://www.wittytv.it/uomini-e-donne/lunedi-11-marzo-2", "https://www.wittytv.it/uomini-e-donne/venerdi-8-marzo-2/", "https://www.wittytv.it/uomini-e-donne/esterna-di-ida-e-pierpaolo-8-marzo/" ] for s in SOURCE_URLS: print(get_download_command(s))
Code:N_m3u8DL-RE.exe "https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd" --key d5790f0ef05869da729f363183e986d8:1324fd8cd7862dc8c7bed46896ad7d7f -M format=mkv N_m3u8DL-RE.exe "https://vod06.msf.cdn.mediaset.net/farmunica/2024/02/1512202_18d716542bdd01/dashrcenc/hd_wv_mpl.mpd" --key 96555566b9b92d82ba27fbeb07c18b0b:bdeabea78f12aa8435807d76d08218c8 -M format=mkv N_m3u8DL-RE.exe "https://link.theplatform.eu/s/PR1GhC/media/z4u03Fu3xr0l" --key 6409f47550a6342f61333a06126f87d1:c1a2fe742bb5fcbf5c365e9919ca51d6 -M format=mkv N_m3u8DL-RE.exe "https://link.theplatform.eu/s/PR1GhC/media/LpOd5F55w3dx" --key 5f1b65652ce87229597b5d7e80163df0:5049df69abede16cdeb651b88cd5ecef -M format=mkv N_m3u8DL-RE.exe "https://vod06.msf.cdn.mediaset.net/farmunica/2024/03/1528462_18e1e9d2f02f89/dashrcenc/hd_wv_mpl.mpd" --key 094da169ffff40957b0e530a92e6b0a9:1d959dbede88e67d040ee3a9c019c618 -M format=mkv N_m3u8DL-RE.exe "https://vod05.msf.cdn.mediaset.net/farmunica/2024/03/1534367_18e1e64307cf89/dashrcclean/hd_no_mpl.mpd" -M format=mkv
Edit: The script may sometimes fail because it couldn't receive an MPD from their API. That is due to their API's inconsistency. Haven't found a fix for that. So if you wait a few seconds and run the script again, it may work. Nothing I can do about this.
Edit2: Thanks @snake for helping me find the fix. If you encounter some random issue then replace this line:
Code:USER_AGENT = fake_useragent.UserAgent().random
Code:USER_AGENT = "<VALUE>"
Edit: This script has been added and extended in the widefrog tool so I won't maintain it here. Any relevant updates will take place in the support thread.Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 21st May 2024 at 04:28.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
After changing line 133 to:
Code:return f'N_m3u8DL-RE.exe "{manifest}" {" ".join([f"--key {k}" for k in keys])} -M format=mkv'
Code:manifest = [m for m in matches if ".mpd" in m][0] IndexError: list index out of range
Code:[] ['https://vod02.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/hlsrc_sampleaes/sd_fp_mpl.m3u8', 'https://vod02.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/hlsrc_sampleaes/sd_fp_mpl.m3u8', 'https://vod02.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/hlsrc_sampleaes/sd_fp_mpl.m3u8', 'https://vod02.msf.cdn.mediasmpl.m3u8', 'https://vod02.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/hlsrc_sampleaes/sd_fp_mpl.m3u8', 'https://vod02.msf.cdn.mediaset.net/farmunica/2021/11/10041 (truncated output) ['https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd', 'https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd']
-
I keep forgetting about backward Python version compatibility. Thanks for the heads up.
Well damn, I had the same issue but only once or twice, and I thought it was because of bad headers. In the end, I didn't even get this issue anymore. I swear, I'm thinking of just adding a while true + sleep till you get the right mpd lmao. Amazing API consistency (╯°□°)╯︵ ┻━┻. I'm curious, do you get this issue a lot or very rarely? Need to look into it and spam the script so I can replicate the issue.
Edit: you got this for the demo URLs I used or other videos you tested?Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 14th Mar 2024 at 11:48.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
np
I'm thinking of just adding a while true + sleep till you get the right mpd lmao. Amazing API consistency (╯°□°)╯︵ ┻━┻.
I'm curious, do you get this issue a lot or very rarely? Need to look into it and spam the script so I can replicate the issue. -
That show (and all shows before 9 march 2024) can be downloaded using Jdownloader or PastyLink, or some script, there's no drm protection on it.
-
Right, so apparently you can get the .mp4 directly by changing "/dashrcenc/sd_wv_mpl.mpd" with "/mp4/sd_no_mpl.mp4"
Code:https://vod05.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/mp4/sd_no_mpl.mp4 https://vod06.msf.cdn.mediaset.net/farmunica/2021/11/1004153_17d32f0041565b/dashrcenc/sd_wv_mpl.mpd
-
Hi guys i have a problem downloading this https://vod06.msf.cdn.mediaset.net/farmunica/2024/03/1533511_18e1edcb039d01/dashrcenc/...l.mpd.init.mp4
pssh : AAAAU3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADMIARIQXV hNXCLvF9Zm9Vdxu1Mi0hoNYW1hem9udHZjcmltZSIIdGFtX3Rl c3QqAlNEMgA=
license link :https://widevine.entitlement.theplatform.eu/wv/web/ModularDrm/getRawWidevineLicense?re...Vpd29XReq3Xy2w
key 5d584d5c22ef17d666f55771bb5322d2:ae2878aad1e383e85 06cf9e8fc427558
It give me this error downloading with n_m3u8DL-Re INPUT NOT SUPPORTED
If someone could help me please , thank you in advance -
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
someone can help me here ? https://forum.videohelp.com/threads/413817-Strange-problem-with-Mediasetinfinity#post2728201
-
pkp@cedric8528[ss]vegeta
https://mediasetinfinity.mediaset.it/movie/ilmisterodyatlovuncasoancoraaperto/il-miste...12430001000102
Thank you very much -
your key
Code:a8982b7543b33634fc291daf27ed04dd:c81eab61e9092eb54389041816527335
-
Thank you very much for the key.
Just to be sure, can you confirm me that the max resolution for that video is 1280x720?
I used this command:Code:N_m3u8DL-RE.exe "https://vod06.msf.cdn.mediaset.net/farmunica/2023/03/1310539_18731f2c624645/dashrcenc/hr_wv_mpl.mpd" --key a8982b7543b33634fc291daf27ed04dd:c81eab61e9092eb54389041816527335 -M format=mkv
-
Similar Threads
-
How to download video from this site, new protect method?
By ningnong132 in forum Video Streaming DownloadingReplies: 29Last Post: 12th Jan 2023, 15:28 -
Download encrypted video via DRM protected Post method only
By thinkpad9x in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jun 2021, 06:19 -
Jwplayer 8.14.0 hls Stream Download Method?
By Franseven in forum Video Streaming DownloadingReplies: 4Last Post: 15th Jan 2021, 09:18 -
The best method to deinterlace these PAL videos?
By inter in forum Video ConversionReplies: 3Last Post: 13th Apr 2020, 21:16 -
Mpd MediasetPlay [Italian Site]
By Femmomani in forum Video Streaming DownloadingReplies: 8Last Post: 2nd Sep 2019, 11:11