![]() ![]() You can use this optionĬookies are ultimately just submitted to the server as HTTP headers, so all you have to do is set the Cookie header on the request. ![]() Youtube-dl has an option called -add-header: -add-header FIELD:VALUE Specify a custom HTTP header and its value, separated by a colon ':'. While this may not work for YouTube specifically, I wanted to highlight an easier approach that works well for youtube-dl to download from a site that requires login (and uses cookies to track the session).Įdit: Unfortunately YouTube is dependent on cookies set across multiple domains, so this approach probably will not work there. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |