omansak / libvideo

A lightweight .NET library to download YouTube videos.
BSD 2-Clause "Simplified" License
553 stars 164 forks source link

Added constructor with HttpClient, removed disposing HttpClient on each call of `ParseVideos` #281

Closed techiedesu closed 3 months ago

techiedesu commented 1 year ago

So, I need to pass HttpClient with CookieContainer for downloading premium quality videos.

https://medium.com/@nuno.caneco/c-httpclient-should-not-be-disposed-or-should-it-45d2a8f568bc

omansak commented 1 year ago

Why did u close this ?

techiedesu commented 12 months ago

Why did u close this ?

I wasn't sure about changes.

omansak commented 3 months ago

Outdated.