omansak / libvideo

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

Update Json.cs #244

Closed sepp89117 closed 2 years ago

sepp89117 commented 2 years ago

Fixed an error when '{' or '}' is inside a string. See https://github.com/omansak/libvideo/issues/239

sepp89117 commented 2 years ago

Added Age-Restriction-Bypass too

omansak commented 2 years ago

can we need <TargetFramework>netstandard2.0</TargetFramework> ?

sepp89117 commented 2 years ago

Netstandard 2.0 is required for class HttpWebRequest, for the Age Bypass. It is not required for the bug fix in json.cs

omansak commented 2 years ago

i merged JSON fix but i reverted Age Bypass because i need a little think about of build-in api key