VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 10 of 10
  1. 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!
    Quote Quote  
  2. yt-dlp --cookies cookies.txt "https://..."
    Quote Quote  
  3. Thanks, @lomero, but the question (threadname) was about N_m3u, which I unfortunately need in this case.
    But by the way: IF in the future I shall need it with yt-dlp: What exactly is inside the txt-file, or how do you get it?
    Quote Quote  
  4. 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.
    Quote Quote  
  5. -H, --header <header> Pass custom header(s) to server,
    Example:
    -H "Cookie: mycookie" -H "User-Agent: iOS"
    Quote Quote  
  6. Originally Posted by jack_666 View Post
    How to pass Cookies
    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?
    I choose c.
    But this was only an answer to my not-that-important-in-the-moment-question.


    Originally Posted by LZAA View Post
    -H, --header <header> Pass custom header(s) to server,
    Example:
    -H "Cookie: mycookie" -H "User-Agent: iOS"
    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.
    Quote Quote  
  7. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie#examples

    Code:
    -H "Cookie: NAME=VALUE; NAME=VALUE"
    and so on. You'll know if it worked if the server responds with the MPD, I guess...

    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:

    Code:
    # Netscape HTTP Cookie File
    
    .github.com	TRUE	/	TRUE	0	preferred_color_mode	light
    I'd send that with
    Code:
    -H "Cookie: preferred_color_mode=light"
    Last edited by AbortRetryFail; 12th Dec 2022 at 12:23.
    Quote Quote  
  8. Originally Posted by AbortRetryFail View Post
    You'll know if it worked if the server responds with the MPD, I guess...
    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.

    Code:
    # Netscape HTTP Cookie File
    
    .github.com	TRUE	/	TRUE	0	preferred_color_mode	light
    I'd send that with [CODE]-H "Cookie: preferred_color_mode=light"
    Thanks for your help. That increases the probability that NAME and VALUE are to be passed.
    Quote Quote  
  9. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!