So i already know how to get the mpd and phhs from vdocipher and few other websites
vdocipher example:but i cant do the same for inkryptvideos.com i have tried searching for their api but i couldn't find anything can someone help?Code:url = 'https://dev.vdocipher.com/api/meta/' + video_id req = None req = requests.get(url, headers=headers) resp = req.json() return resp['dash']['manifest']
+ Reply to Thread
Results 1 to 3 of 3
-
-
I found it
Code:#mpd def get_mpd(video_id , xotp): headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36', 'origin': 'https://resource.inkryptvideos.com', 'referer': 'https://resource.inkryptvideos.com/', 'X-Otp' : f'{xotp}' } url = 'https://api.inkryptvideos.com/api/s1/v_info/' + video_id req = None req = requests.get(url, headers=headers) req.raise_for_status() # Raise an exception if the request fails resp = req.json() storage_hostname = resp['data']['storage_hostname'] dash_manifest = resp['data']['dash_manifest'].replace("\\", "") full_url = f"https://{storage_hostname}/{dash_manifest}" return full_url
Similar Threads
-
MPD obtain key nagra
By Juan113 in forum Video Streaming DownloadingReplies: 30Last Post: 26th Jun 2024, 09:34 -
need a python scraper to extract urls and possible mpd links
By swappyison in forum Video Streaming DownloadingReplies: 2Last Post: 9th Aug 2023, 11:10 -
Convert drm mpd source to simple mpd or m3u8 without drm.
By alberto404 in forum Newbie / General discussionsReplies: 0Last Post: 5th Aug 2023, 11:05 -
yt-dlp in Python
By blanc in forum Video Streaming DownloadingReplies: 1Last Post: 4th Jan 2023, 05:37 -
How to obtain mpd url and license url
By pepperx in forum Newbie / General discussionsReplies: 0Last Post: 1st Oct 2021, 16:05