Hi,
did anyone triy to pass Cookies with the above? Help function gives an example with passing Cookies as headers:
-H "cookie: Mycookie"
But what exactly is meant with "cookie" and "MyCookie"?
I use CookieBro. When I look at a Cookie there is a list for each Cookie with a lot of parameters.
Am I right that the parameters NAME and VALUE are the important ones that can be passed with
-H "NAME: VALUE" ?
Can someone verify this, so that I know that my Cookie passing is NOT the error...?
Many thanks!
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 10 of 10
			
		- 
	
- 
	How to pass Cookies
 
 Multiple choice answer
 
 
 a) One the left hand side as per Musical Youth? Or was that the dutchie, kutchie or chamber pot?
 b) Ex-lax is known to work on many occasions?
 or
 c) Utilize the cookies.txt browser plugin (https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid) and use the cookies.txt file with yt-dlp?
 
 
 laughter is the best medicine.
- 
	-H, --header <header> Pass custom header(s) to server, 
 Example:
 -H "Cookie: mycookie" -H "User-Agent: iOS"
- 
	I choose c.  
 But this was only an answer to my not-that-important-in-the-moment-question.
 
 
 Yes, that's what I wrote already in my first post. The problem is, that I don't exactly know WHAT is to be passed as "Cookie:mycookie". Is it one of the parameters Cookies have? Is it maybe - as with yt-dlp - a link to a textfile with Cookie(s) inside? That is my question.
- 
	https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie#examples 
 
 and so on. You'll know if it worked if the server responds with the MPD, I guess...Code:-H "Cookie: NAME=VALUE; NAME=VALUE" 
 
 You don't send anything like the Expires, for example. It's usually obvious from a glance at a cookie what the value part actually is, in part due to its arbitrariness.
 
 On my PC, I have the following cookie exported:
 
 I'd send that withCode:# Netscape HTTP Cookie File .github.com TRUE / TRUE 0 preferred_color_mode light Code:-H "Cookie: preferred_color_mode=light" Last edited by AbortRetryFail; 12th Dec 2022 at 13:23. 
- 
	Yes... but if it DON'T, you do NOT know if the cookies are passed wrongly or you made another mistake that has nothing to do with cookies. That's my problem, so I thought maybe someone knows 100% sure how to pass. 
 
 Thanks for your help. That increases the probability that NAME and VALUE are to be passed.I'd send that with [CODE]-H "Cookie: preferred_color_mode=light"Code:# Netscape HTTP Cookie File .github.com TRUE / TRUE 0 preferred_color_mode light 
- 
	Not allowed here. 
 It's about trying to bypass a Geo-restriction without VPN, Proxy, a. s. o.
 Strangely in the browser it SOMETIMES worked with a wrong country-IP, whereas with N_M3u or yt-dlp never. So there must be a difference, and I tried nearly everything apart from the cookies. So I'm just experimenting a bit. Keys and mpd were not the problem.
Similar Threads
- 
  How do I add cookies to my header?By nammin in forum Video Streaming DownloadingReplies: 19Last Post: 28th Jul 2023, 20:57
- 
  youtube-dl syntax help to pass cookiesBy Takyon in forum Video Streaming DownloadingReplies: 18Last Post: 9th Jun 2023, 05:23
- 
  2-pass AVC H.264 encoding = 5% bitrate improvement over 1-pass?By pxstein in forum Video ConversionReplies: 7Last Post: 25th Jan 2022, 11:34
- 
  youtube-dl syntax help to pass cookiesBy xyzo in forum Video Streaming DownloadingReplies: 7Last Post: 1st Mar 2021, 22:14
- 
  Staxrip 1st pass x265 2nd pass Nvenc is it possible?By dennisbgi7 in forum Video ConversionReplies: 6Last Post: 7th Jan 2021, 14:41


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