omansak / libvideo

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

replace Jurassic with Jint library #263

Closed tmm360 closed 1 year ago

tmm360 commented 1 year ago

Solve #260

hondek commented 1 year ago

Not work for me, Jint returing catched error from javascript like this:

{enhanced_except_4JYBn-n-_w8_f275N6O6bRKH-2WAxb}

It not crashing script but not execute propertly descramble function.

Video IDs i tested: Za36MO1xr78, 805SMR0uEi0

tmm360 commented 1 year ago

@hondek it works for me, at least inserting these links on the libvideo.debug app. Anyway I think it's not a related issue. I think that youtube is progressively updating his implementation, and what you get its pseudo-random, also based on your physical location. In any case, a catchable error is always better than an uncatchable crash.

omansak commented 1 year ago

jurassic or jing or niljs randomly will be broken . i am looking for a fix