I'm trying to download a video from goplay.be by yt-dlp, and an error came up:[GoPlay] This video is only available for registered users. Use --username and --password, --netrc-cmd, or --netrc (goplay) to provide account credentials. What should I do next? I've logged in goplay.be. Thanks a lot.
[Attachment 75739 - Click to enlarge]
		
			+ Reply to Thread
			
		
		
		
			 
		
			
	
	
				Results 1 to 30 of 34
			
		- 
	
- 
	
 
 [Attachment 75743 - Click to enlarge]
 and this came up
- 
	it need login so i dont have one. 
 
 try with yt-dlp --cookie-from-browser chrome or firefox URL
 
 edit: i have login now, video is not playing just spining round circle, chrome, firefox and edge is the same
 
 does it playing on your side?Last edited by iamghost; 25th Dec 2023 at 07:44. 
- 
	
- 
	
- 
	
- 
	If you open the MPD, you can see that there is different <period> tags 
 Remove the ones that contains the ads (you can tell from the names)
 Then, in the remaining periods, look for the highest resolution representation and remove all the other ones
 You should have 3 periods now, each of them should contain 1 video Representation and 1 audio.
 Copy all the entries from SegmentTimeline in period 2 and 3 to period 1 (copy video into video and audio into audio)
 
 You should end up with this:
 https://files.videohelp.com/u/303646/WTFock.zip
 
 manifest.mpd is the original I downloaded from GoPlay
 cleaned.mpd is the resulting MPD that I use to download the video
- 
	
- 
	Hi all, need some help here  
 
 Downloading the video works fine via yt.
 However, there is no audio
 
 Any ideas how to solve that?
 
 Thx
 
 -- solvedLast edited by tcools; 4th Aug 2024 at 02:59. Reason: solved 
- 
	--[----->+<]>.++++++++++++.---.--------.
 [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
- 
	
- 
	@karoolus' solution worked well 
 https://forum.videohelp.com/threads/412813-Download-from-goplay-be-using-yt-dlp#post2717437
 
 It's not that hard to build a script from it. Just to confirm, is the actual video 45:42 in duration? Also please give the decryption keys for the manifest infested with ads so I can confirm the output--[----->+<]>.++++++++++++.---.--------.
 [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
- 
	Seeing as you probably don't have the decryption keys, here's a prototype to @karoolus description 
 
 Code:import xmltodict INPUT_FILE = "mpd_input.mpd" OUTPUT_FILE = "mpd_output.mpd" def extend_dict(input_dict, input_key, input_value): old_value = input_dict.get(input_key, None) if old_value is None: input_dict[input_key] = input_value return input_dict for k1, v1 in input_value.items(): if v1 is None: continue if type(v1) is not list: v1 = [v1] v2 = old_value.get(k1, None) if v2 is None: old_value[k1] = v1 continue if type(v2) is not list: v2 = [v2] v2.extend(v1) old_value[k1] = v2 input_dict[input_key] = old_value if __name__ == '__main__': with open(INPUT_FILE, 'r') as file: mpd_content = file.read() xml_dict = xmltodict.parse(mpd_content) xml_node = xml_dict["MPD"] new_nodes = [] for period in xml_node["Period"]: if "-ad-" in period["@id"]: continue new_nodes.append(period) segment_dict = {} assert len(new_nodes) >= 1 for loop in range(0, 2): if loop == 1: new_nodes = [new_nodes[0]] for node in new_nodes: adaptations = node["AdaptationSet"] if type(adaptations) is not list: adaptations = [adaptations] for adaptation in adaptations: representations = adaptation["Representation"] if type(representations) is not list: representations = [representations] for representation in representations: segment_key = representation.get("@width", representation.get("@audioSamplingRate", None)) if loop == 0: extend_dict(segment_dict, segment_key, representation["SegmentTemplate"]["SegmentTimeline"]) else: representation["SegmentTemplate"]["SegmentTimeline"] = segment_dict[segment_key] xml_dict["MPD"]["Period"] = new_nodes mpd_content = xmltodict.unparse(xml_dict, pretty=True) with open(OUTPUT_FILE, "w") as f: f.write(mpd_content)The input/output are established at the beginning of the script. Something bonus in this script is that I merge all the resolutions with each other accordingly with the segment timeline, not just the highest one. For your 2 mpds I get 45:42 and 39:55, but I have no way of confirming the output without keys.Code:pip install xmltodict 
 
 Edit: only for advanced users that are familiar with scripts. Do not contact me if you are new. You can download in 1 command from goplay by running
 Code:python widefrog.py "https://www.goplay.be/video/de-expeditie/niets-beter-dan-natuurdocumentairestem-janne-om-de-groep-over-de-duinen-te-krijgen" Last edited by 2nHxWW6GkN1l916N3ayz8HQoi; 24th Mar 2025 at 00:24. --[----->+<]>.++++++++++++.---.--------.
 [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
- 
	sorry for my late response, awesome when i tried i always get a incorrect playback time i most do something wrong, the actual video 45:42 you got it right  
 
 [Attachment 81826 - Click to enlarge]
 The key isthe key for the 39:55 mpd isCode:--key f0326780f032f032f032f0326780f032:4d3f79c797d49dcbe275c6acb3da0b04 Code:--key f0326424f032f032f032f0326424f032:efcde34ec1348ae471d2aaf56fa69948 Last edited by KB-01; 28th Aug 2024 at 16:02. 
- 
	
- 
	No idea what the key is supposed to be for non-ad one, but this one worked for the ad. So I don't think there's anymore any need for testing. Apparently you still need to merge them, regardless of there being ads or not, simply because you have lots of periods xml nodes that mess it up. 
 
 I know the title of the post is "download...using yt-dlp" but you should use something that automatically decrypts, like N_m3u8DL-RE. yt-dlp is good for non-DRM
 
 In your case I ran the script for manifest2.mpd in your zip archive and then
 The videoCode:N_m3u8DL-RE mpd_output.mpd --check-segments-count false -M format=mkv --key f0326780f032f032f032f0326780f032:4d3f79c797d49dcbe275c6acb3da0b04 
 https://www.transfernow.net/dl/20240828O7eKgixV
 
 Edit: here's video for non-ad
 https://www.transfernow.net/dl/20240828ASv7GKKsLast edited by 2nHxWW6GkN1l916N3ayz8HQoi; 28th Aug 2024 at 16:07. --[----->+<]>.++++++++++++.---.--------.
 [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
- 
	I haven't tried that tool for a while but dash-mpd-cli have '--minimum-period-duration' parameter, maybe it works for skipping ads ? 
- 
	No problem. You should be thanking @karoolus as well. I just converted his words into code, almost ad verbatim. You should try @aqzs suggestion as well. After all, these "patch" scripts are only meant as a temporary solution until the big main download tools fix their stuff. Can't say I care that much to try dash-mpd-cli out, but it's worth a shot --[----->+<]>.++++++++++++.---.--------.
 [*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*]
- 
	you are absolutely right i forgot to thank him @karoolus thankyou so much for explaining how to fix the mpd  @2nHxWW6GkN1l916N3ayz8HQoi thank you for you code, thanks to you i can download without issues now. Yes i will try dash-mpd-cli, my main downloader  is N_m3u8DL-RE with your script is a golden combination i hope that N_m3u8DL-RE will fix this soon. Not sure if Dash Role Scheme fix this in the N_m3u8DL-RE_v0.2.1-beta @2nHxWW6GkN1l916N3ayz8HQoi thank you for you code, thanks to you i can download without issues now. Yes i will try dash-mpd-cli, my main downloader  is N_m3u8DL-RE with your script is a golden combination i hope that N_m3u8DL-RE will fix this soon. Not sure if Dash Role Scheme fix this in the N_m3u8DL-RE_v0.2.1-betaLast edited by KB-01; 29th Aug 2024 at 08:17. 
Similar Threads
- 
  Download video from GoPlay (Belgian TV)By Davy in forum Video Streaming DownloadingReplies: 36Last Post: 10th May 2025, 10:19
- 
  Need help for download with yt-dlpBy sibhus in forum Video Streaming DownloadingReplies: 26Last Post: 19th Feb 2024, 16:02
- 
  Download content from GoPlay.beBy roelsmaarten in forum Video Streaming DownloadingReplies: 56Last Post: 13th Feb 2024, 18:01
- 
  How to download video from goplay.be?By jessezveneberg in forum Video Streaming DownloadingReplies: 1Last Post: 29th Apr 2023, 19:37
- 
  Help with YT-dlp batch downloadBy Loryanam2 in forum Video Streaming DownloadingReplies: 2Last Post: 13th Feb 2023, 16:00


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			

 Quote
 Quote
 
			 
			



 
			