Hello,
I need your help![]()
I can't understand how to download this video from : https://squareone.chrisbeatcancer.com/detox5-vm-rw/
I tried with cookie, refferer ... i can't find master.json or another link
Thanks in advance
+ Reply to Thread
Results 1 to 6 of 6
-
-
Code:
import urllib.request import requests res = [] name = input("Name: ") jsonurl = input("JSON link: ") content = requests.get(jsonurl).json() heights = [video['height'] for video in content['video']] ids = [video['id'] for video in content['video']] res = list(map(int, heights)) max_height_index = res.index(max(res)) id = ids[max_height_index] if "playlist.json" in jsonurl: head, sep, tail = jsonurl.partition("/v2/") elif "master.json" in jsonurl: head, sep, tail = jsonurl.partition("/sep/") else: print("Wrong link") url = head + "/parcel/video/" + id + ".mp4" print(url) new_file = name + ".mp4" urllib.request.urlretrieve(url, new_file)
[Attachment 82052 - Click to enlarge]
Similar Threads
-
403 error in yt-dlp in vimeo
By antik85 in forum Video Streaming DownloadingReplies: 3Last Post: 19th May 2024, 15:58 -
iframe.mediadelivery.net gives me 401 Unauthorized
By Anonymous84734 in forum Video Streaming DownloadingReplies: 8Last Post: 18th Sep 2023, 11:15 -
yt-dlp error 403 from Vimeo
By jaktchor in forum Video Streaming DownloadingReplies: 7Last Post: 17th Aug 2023, 15:42 -
CDRM-project & GetWVKeys always respond with 401 unauthorized
By jjj in forum Video Streaming DownloadingReplies: 4Last Post: 25th Apr 2023, 17:23 -
Help me please! Error 401: DRM JWT Required.
By Newbiect in forum Video Streaming DownloadingReplies: 1Last Post: 29th May 2022, 02:28