Skip to content

Conversation

@Guacam-Ole
Copy link
Contributor

To allow providing a custom Cookie like mentioned in the Authentication-part of the Readme:

using YoutubeExplode;

// Perform authentication and extract cookies
var cookies = ...;

// Cookie collection must be of type IReadOnlyList<System.Net.Cookie>
var youtube = new YoutubeClient(cookies);

That custom cookie must always have priority over the default/fallback cookie for this to work. I changed the order so to meet this requirement

Closes #909

@Tyrrrz Tyrrrz added the bug label Oct 3, 2025
@Tyrrrz Tyrrrz changed the title Fix custom Cookies getting overwritten Fix custom cookies getting overwritten Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom cookies get overriden by default value

2 participants